Skip to content

A purely functional regular expressions library, lexer and SLR(1) parser, written in OCaml.

License

Notifications You must be signed in to change notification settings

sam1penny/compiler-front-end

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

A purely functional regular expressions library, lexer and SLR(1) parser, written in OCaml.

Running

Edit the file in resources/test.kl according to the grammar. The following command will then create a parse tree (if the input can be parsed).

dune exec compiler

Testing

Run the following command to run the supplied tests:

dune runtest

About

A purely functional regular expressions library, lexer and SLR(1) parser, written in OCaml.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages