On 27/09/2009, at 10:51 AM, Erick Tryzelaar wrote:

>
> Check this out! I just got the standard felix optimizations working.

Cool .. now ..

>
>    :::felix
>    type int = "%i32";
>    typedef bool = 2;
>    fun add : int*int -> int = "%add";
>    fun sub : int*int -> int = "%sub";
>    fun eq : int*int -> bool = "%eq";
>    fun lnot : bool -> bool = "%lnot";

shouldn't this code be in the library?

Interestingly, llvm uses fixed sized ints, so the typedefs
between i32 and int for C++ would go backwards.

Hmmmm.. this is a challange for the conditional compilation
system.



--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to