llk icon indicating copy to clipboard operation
llk copied to clipboard

Recursive-descent parsers and scanners generaror

Recursive-descent parser and scanner generator

This is an experimental programming language front-end generator. Its implementation is mainly based on ideas taken from Coco/R and ANTLR. It generates light-weight efficient scanners and recursive-descent parsers, using LL(*) and syntatic and semantic predicates for LL conflicts resolution.

The implementation is written as a prototype in PHP, and may generate front-ends in C and PHP.

$ php llk.php [options] <gramma-definition-file>

This project is experimental and may be incomplete. It was written for personal usage and is not going to be actively maintained by the author.