Initial stacker checkin
[oota-llvm.git] / projects / Stacker / lib / compiler / README
1 This directory contains a sample language front end for LLVM.
2
3 It is a *very* simple/crude implementation of FORTH. It has many
4 deficiencies but provides enough basics to give you an idea of 
5 what programming a new language front end for LLVM  looks like.
6
7 To keep things simple, Stacker has the following limitations:
8 1. Only a single, global stack is manipulated.
9 2. There is no interpretation, everything is compiled.
10 3. There's no type/bounds checking .. you're on your own.
11 4. There's no floating point support.
12 5. Only stdin can be read. Only stdout can be written. No other 
13    file I/O is supported.
14
15 As such, this isn't a very useful language for anything other than
16 the most trivial of programs. It is, however, a good learning tool
17 (for both the author and the student).
18
19 Reid Spencer
20 16 November 2003