[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Best way to set a lua table from a parser written in C
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 29 Oct 2010 00:52:52 -0200
> I have considered it, the problem is that that simple language is
> actually not that simple and tends to get improved on the time. For
> example, for numeric constants, I'd like to add units: 10px, 20cm etc.
> It would require a minimal parsers, anyway.
As long as tokens are separated by spaces, lcl is happy. lcl will do
the boring lexical part for you. You can have fun parsing the pieces.