The Trithorpe Programming Language
Trithorpe
is a minimalist programming language influenced mostly by
Unithorpe but also by
Lua,
Io,
FORTH,
TCL,
and other dynamic programming lanuages.
TODO:
write some docs. And finish the language.
- Instead of two kinds of values ( Unicode characters and arrays ),
trithorpe has three kinds ( integers, symbols, and tables )
- Instead of all identifiers are a single Unicode character,
trithorpe symbols can be 0-3 latin-1 characters,
or 4 if the first is a roman ASCII letter
(actually, characters 65 'A' to 126 '~').
- Instead of 3-register-based operations,
trithorpe is a typical stack-based VM model
- Trithorpe functions are all "object style",
with a Receiver object and a message symbol as the first two internal arguments.
- Rather than having the stack frames as data the user can tweak,
they are now internally managed by the interpreter.
[ Sorry, all guestbooks disabled temporarily due to rampant spam :( ]
Snapshots
- Incomplete, only runs builtin unit tests:
trithorpe-2005-05-09d.tgz
Works: reference counting, tritype, tricodes, calling functions on Lobby, recursion,
iteration, if, while, break, return.
Demos: recursive factorial & triangle. iterative triangle.
- trithorpe-2005-05-11-1838.tgz
- trithorpe-2005-05-12-1900.tgz
- trithorpe-2005-05-13-0427.tgz
- trithorpe-2005-05-17-0334.tgz
- trithorpe-2005-05-18-0314.tgz
- trithorpe-2005-05-18-1804.tgz
- trithorpe-2005-05-21-0117.tgz
- trithorpe-2005-05-26-1326.tgz
- trithorpe-2005-05-29-0317.tgz
- trithorpe-2005-05-31-0148.tgz
- 30lisp.tri
- trithorpe-2005-06-02-0329.tgz
- trithorpe-2005-06-13-0201.tgz
- trithorpe-2005-06-18-1350.tgz
- oglethorpe-2005-10-31a.tgz