|
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.
>