On 8/25/07, skaller <[EMAIL PROTECTED]> wrote:
> On Sat, 2007-08-25 at 14:44 -0700, Erick Tryzelaar wrote:
> > I couldn't figure out if there's any way to dump out the scheme code
> > before it's processed by sex2flx. Did I miss an option somewhere, or
> > is this not currently exposed on the command line?
>
> Run flxp instead of flxg. It sets the 'pdebug' flag:

This isn't exactly what I'm looking for. What I'd like is some
mechanism to print out an arbitrary piece of felix code that's
converted to scheme ast. I'm looking for something like the commented
out code in ocs2flx in flx_parser.ipk that prints out the ast before
it gets converted to felix. This can be used to see how a common
expression like:

map (fun (x:int, y:int) => x + y) (1,2,3);

Looks like in scheme.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to