lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Many thanks to Sean and Jakub :-)

For your kindly information, it gives a lot of encouragement. 

And I also noticed that MoonScript and lua-parser also used LPeg to implement their parser.

On Tue, Jun 13, 2017 at 9:48 PM, Jakub Jirutka <jakub@jirutka.cz> wrote:
Hi,

I’ve implemented complete parser of POSIX Shell Command Language in LPeg [1]. The project is not finished yet, so not used anywhere in production. However, it’s quite complex grammar with complicated rules and I haven’t run into any issue with LPeg yet, even when running it on large shell scripts. So I’d not worry about quality of LPeg, it’s really awesome library.

Jakub

[1]: https://github.com/jirutka/sh-parser

> On 13. Jun 2017, at 3:15, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
>
>> I want to use it to implement a DSL parser
>
> It'd help if you could share a sample of how your DSL looks.
>