Skip to content
/ pallero Public

(Possibly, eventually) a PLR parser generator

Notifications You must be signed in to change notification settings

nilern/pallero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PaLleRo

Goals

  • Detect ambiguities at parser generation time and error out.
  • Delayed decisions e.g. statements like a[0] = a[0]; or (a, b) = (1, 2); should work without having to merge lval/pattern rules with expr rules and then manually validate/transform the syntax tree when '=' or ';' finally comes along. (I think this is the only reason why e.g. Lua is not LL(k)).
  • Don't generate lookup tables.

Non-Goals

  • Parse any CFG.
  • Be super-algorithmic like PEG.

About

(Possibly, eventually) a PLR parser generator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages