|Subject:||Re: [Chicken-users] Scheme Lex/Yacc implementation compatible with Chiken?|
|Date:||Mon, 04 Oct 2004 22:25:34 +0200|
|User-agent:||Mozilla Thunderbird 0.5 (X11/20040306)|
Jim Witte wrote:
[...]Will the lex and yacc scheme libraries included with the PLT (described here: http://www.eighty-twenty.net/blog/urn:www-eighty-twenty-net:1299.html) work with Chicken?
Hello,I don't know if the code shipped with PLT is really that portable. But there is a lexer generator, called silex, available for CHICKEN on the eggs page (http://www.call-with-current-continuation.org/eggs/index.html#parsing).
Or, since Chiken transforms Scheme into C, is there a way I could use C lex/yacc libraries to do the parsing, and then a Scheme program (transformed with Chicken) to do the compilation work?
This should be possible too, as CHICKEN has a good foreign function interface.
|[Prev in Thread]||Current Thread||[Next in Thread]|