Ddystopia / LL1parser

My universal LL(1) parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LL(1) parser

Introduction

This is my first parser and I still writing him. If you wanna help me, you'll can make a pull requests :3

Using

You shoud to provide your LL(1) (!!!!!) in arguments to constructor of parser. If you provide not LL(1) grammar anythig might happend. Parser.parse will return std::shared_ptr<Node> - the top elenent of AST.

Testing

make test ./tests/runtests

About

My universal LL(1) parser

License:GNU General Public License v3.0


Languages

Language:C++ 96.2%Language:Makefile 3.8%