[Felix-language] wrappers

2014-11-30 Thread john skaller
OK, I have the new wrapper generator working for primitives, struct and cstruct constructors, and non-const union variants. However there's a problem with projections. For a struct or record v you can write v.fieldname or equivalently fieldname v and also this works for a poin

[Felix-language] wrappers

2014-11-16 Thread john skaller
Felix currently allows certain non-functions to be used "as functions". For example: fun f: int -> int = "$1"; is a primitive function like thing, but it is NOT a Felix function which fun g (x:int) => x; actually is. When you apply these entities: println$ f 1, g 1; t