> What's missing?
>>> - A lexer generator for this: http://blog.sigfpe.com/**
>>> 2009/01/fast-incremental-**regular-expression.html<http://blog.sigfpe.com/2009/01/fast-incremental-regular-expression.html>(ideally
>>>  an Alex backed)
>>> - A parser generator targetting CNF (One could think of writing another
>>> Happy or BNFC backend), so it can be feed the existing prototype.
>>>
>>
>> I have implemented the BNFC backend. There remains the (arguably easier)
>> implementation of the lexer (and layout pass for haskell).
>>
>> Any takers? :)
>>
>
> Indeed I have been postponing making small modes for few more languages I
> use (like BIBTeX), so if you show me code to pull,
> I would be more than happy to be your friendly tester of new parser
> backend.
>

It's not at all integrated in Yi at the moment (the lexer needs to be done
first). But basically you'll have to write grammars in the lbnf format:

http://bnfc.digitalgrammars.com/


> Where is it?
>

The code is here https://github.com/BNFC/bnfc (in the CNF branch).

Cheers,
JP.

-- 
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel

Reply via email to