3

I am writing a compiler in Haskell and need some tools to work with abstract syntax trees (like annotating them with source positions and other things). I have been pointed out to the multirec package.

I have found some information about the package, but it is too dense to read and understand, as the ideas are presented from a theoretical point of view.

So I am looking for something more light, as tutorials or simple applications that illustrate the use of the package.

Any help?

Romildo
  • 545
  • 9
  • 20

2 Answers2

3

The primary documentation will be:

Don Stewart
  • 137,316
  • 36
  • 365
  • 468
1

In addition to the pointers Don gave, there is also a video of Andres presenting the paper at ICFP 2009 in Edinburgh.

In Chapter 6 of Martijn van Steenbergen's Master thesis, Multirec is used for AST manipulation.

Stefan Holdermans
  • 7,990
  • 1
  • 26
  • 31