Excerpts from Jean-Philippe Bernardy's message of Mon Oct 27 15:11:09 +0100
2008:
>
> On Mon, Oct 27, 2008 at 2:15 PM, Nicolas Pouillard
> <[EMAIL PROTECTED]> wrote:
> >
> > Mon Oct 27 09:12:33 EDT 2008 Nicolas Pouillard <[EMAIL PROTECTED]>
> > * Re-sync the literate haskell mode with the clever haskell mode.
> >
> > It would be nice to keep at least the lexers in sync.
>
> Indeed, it would be even better if we could share the code between the
> lexers; unfortunately
> Alex has no module system (that I know of). Describing the lexers in
> frisby or some
> highly efficient haskell parsing library would be a good first step.
Right.
Even better could be to nest lexers modularly.
Examples:
latex ::= ... | "\begin{code}" haskell "\end{code}"
html ::= ... | "<?" php "?>"
--
Nicolas Pouillard aka Ertai
--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---