blob: 5f13cbb52f985bfe2fcae911a05f50159d5eaeaf [file] [log] [blame]
Chris Lattnerf608e852003-11-23 17:52:55 +00001This directory contains a sample language front end for LLVM.
2
3It is a *very* simple/crude implementation of FORTH. It has many
4deficiencies but provides enough basics to give you an idea of
5what programming a new language front end for LLVM looks like.
6
7To keep things simple, Stacker has the following limitations:
81. Only a single, global stack is manipulated.
92. There is no interpretation, everything is compiled.
103. There's no type/bounds checking .. you're on your own.
114. There's no floating point support.
125. Only stdin can be read. Only stdout can be written. No other
13 file I/O is supported.
14
15As such, this isn't a very useful language for anything other than
16the most trivial of programs. It is, however, a good learning tool
17(for both the author and the student).
18
19Reid Spencer
2016 November 2003