[viff-devel] Compiler transformations

2008-07-08 Thread Martin Geisler
Hi, I talked a bit with Janus about possible transformations which a VIFF compiler should do -- this is just off the top of my head: * The if-statement desugaring, but done correctly, not with the bugs of my little prototype as pointed out by Tomas :-) * Rebalacing of associative operations. A

Re: [viff-devel] Small VIFF language parser

2008-07-08 Thread T . Toft
Hi all > We have talked on and off about making a front-end compiler for VIFF and > today I figured that I would try making such a guy... > > So far it can only parse a simple language and spit out something which > looks like equivalent Python code in which both branches of > if-statements are ru

Re: [viff-devel] Small VIFF language parser

2008-07-08 Thread Ivan Bjerre Damgaard
Quoting Martin Geisler <[EMAIL PROTECTED]>: > Hi everybody, > > We have talked on and off about making a front-end compiler for VIFF and > today I figured that I would try making such a guy... This is nice, and indeed is exactly what we have talked about doing for some time. If for no other reaso