Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 730 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 730 Bytes

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.