Skip to content
{Lexer, Parser} for a Java-like language implemented in Haskell
Haskell Makefile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore much simpler lexing, much easier to understand Oct 16, 2015
IOUtils.hs make it a pipeline Oct 24, 2015
Lex.hs make it a pipeline Oct 24, 2015
Main.hs make it a pipeline Oct 24, 2015
Makefile make it a pipeline Oct 24, 2015
Parse.hs expr and term in point-free style Oct 24, 2015
README make it a pipeline Oct 24, 2015

README

You can either run the lexer/parser as a standalone unit or as a Unix pipeline.

To get the standalone unit, just run `make Main`. This creates an executable
called "Main". Then you can do `./Main file1 file2 ...`.

To get the Unix pipeline, just run `make`. This creates executables "Lex" and
"Parse" (it also creates "Main" but we don't care about that). Then you can
do `cat file1 file2 ... | ./Lex | ./Parse`.
You can’t perform that action at this time.