Skip to content
This repository has been archived by the owner on Feb 6, 2021. It is now read-only.

lierdakil/parser-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parsers demo

This is a teaching aid to show how LL(1), LR(0), LR(1), SLR and LALR parsers operate based on push-down automata principles.

This is not intended to be complete, useful for any particular application, or show some particularly good code. However, GUI portions may be interesting as a (contrived) example of using webkitgtk in Haskell (see app/Main.hs)

Parser building code is in src/. It is intended to be readable, not efficient.

demo (gif animation) (1.2 MB)

About

Demo showing operation of LL(1), LR(0), LR(1), SLR and LALR parsers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published