Haskell Programming

Contact

Haskell is an interesting language, with a lot going for it, but it is not a language that can be picked up casually. One of the hurdles when learning any new language is finding a suitable project.

The links below describe the series of steps taken to build a literate programming tool that extends the \ref and \pageref LaTeX commands so that they can be used within Java source code to refer to external LaTeX documentation. Adjusting the program to work with languages other than Java shouldn't be difficult, depending on how the other language expresses comments and strings.

Does a File Exist?

Elementary use of Parsec

Parsing out Comments

Parsing to a Basic AST

Parsing LaTeX .aux Files

Adjusting the Java Source with a Stateful Parser

Summary for End-Users