Yay! Almost got it to work! The only thing left is to figure out how
to handle external functions. So, I need to convert this:

fun sin: double -> double = "sin($1)";

Into both this in the global namespace:

declare double @sin(double)

And this at the callsite:

call double @sin(double %x)


I know how to do the callsite part, but not sure yet how to do the declaration.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to