Compiler Page





Teaching exercises

Dartmouth Basic

A very simple basic compiler availble as a Java class library. Sources not available since students have to implement this as an exrecise.

The library file minibasic.jar can be downloaded if you run the class Bcc in this jar file as a main program using

java minibasic.Bcc test

nasm -f elf -o basic.o basic.asm

gcc -o test minibasic/rtl.c basic.o


you can compile and run a test program test.bas ( which you first have to write). This compiler is provided as a class file only, and can be used to give students some idea of whether basic programs they write are correct.





Vector Pascal




post 16.1.06 hits
View My Stats