parrotcode: Untitled | |
Contents | Language Implementations | eclectus |
Eclectus aims to be a Scheme to PIR compiler implemented in Scheme. It is based on Abdulaziz Ghuloums compiler tutorial.
Going through the tutorial.
Tests are written in Scheme. The test-driver is derived from the tutorial, tweaked to emit TAP. There are Perl 5 wrappers for the scheme test scripts, in order to allow unified languages testing.
The t/*.pl scripts are used in unified languages testing. They are executing the respective t/*.t Scheme scripts. In unified languages testing the Eclectus tests are skipped, when the is no 'petite 7.3' around.
- support for strings - support for pairs - support for 'letrec - allow running the tests with 'petite' itself - allow test-description per test case - In the longterm, Eclectus should become self-hosting
Bernhard Schmalhofer
http://en.wikipedia.org/wiki/Eclectus
http://www.perlfoundation.org/parrot/index.cgi?eclectus
http://www.cs.indiana.edu/%7Eaghuloum/compilers-tutorial-2006-09-16.pdf
http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf
http://www.cs.indiana.edu/%7Eaghuloum/ikarus/index.html
http://www-pu.informatik.uni-tuebingen.de/users/sperber/info-i-9900/material/konstruktion/konstruktion-10.ps
|