# A simple LR(0) Parser

**URL:** https://community.haxe.org/t/a-simple-lr-0-parser/1396
**Category:** Showcase
**Tags:** macro
**Created:** [December 22, 2018, 2:19pm UTC](https://community.haxe.org/t/a-simple-lr-0-parser/1396 "2018-12-22T14:19:18Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![R32](https://community.haxe.org/user_avatar/community.haxe.org/r32/32/2123_2.png) [@R32](https://community.haxe.org/u/R32)
#### Post date: [December 22, 2018, 2:19pm UTC](https://community.haxe.org/t/a-simple-lr-0-parser/1396/1 "2018-12-22T14:19:19Z")

</div>

It was built in a different way than the normal LR Parser(only a **`clourse`** function has been added to **`LexEngine`** for mixing the NFA nodes). So I’m not sure if it will have a fatal bugs, but it seems to work well for me.

I have wrote [a demo parser for hscript](https://github.com/R32/lex/blob/master/demo/hs/Parser.hx), and it was lucky to pass the hscript Test.hx

---

_[View the full topic](https://community.haxe.org/t/a-simple-lr-0-parser/1396)._
