[plt-scheme] silex vs. ffi

From: Eli Barzilay (eli at barzilay.org)
Date: Wed Jan 14 12:45:44 EST 2009

On Jan 14, John Clements wrote:
> On Jan 14, 2009, at 9:30 AM, troels knak-nielsen wrote:
> > On Wed, Jan 14, 2009 at 6:06 PM, Noel Welsh <noelwelsh at gmail.com>  
> > wrote:
> >> There is a lexer distributed with PLT.  Search for lexer in the PLT
> >> help and you'll find it.  Otherwise silex might work with PLT.   
> >> Source
> >> is here:
> >
> > I mostly thought about the application of the lexer, as a way to
> > automate generation of ffi bindings.
> I believe there are a bunch of threads on roughly this topic contained  
> in this list's archives. I would search the list archives for some  
> combination of the following:
> FFI header SWIG eli

To save you the trouble: what you want is *much* more than a simple
lexer.  It just might happen that you get some file (a header file, a
man page, etc) that is formatted well enough to be useful with a bunch
of regexps.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.