This is an old revision of the document!
TUF-PL
In the last decade, I have specified and implemented an unusual programming language that fits my personal taste.
There is a Tutorial and a Language Description, plus a simple TUF-PL playground to test small programs online.
TUF-PL is a precompiler for the C programming language, thus it is fairly easy to port the compiler — written in TUF-PL — to most computers.
The differences and highlights are:
- Block structuring by indentation, like in PYTHON; line oriented
- No keywords in the core language, only symbols and bigraphs
- Function definition and calls by word sequences with interspersed parameters, often no parenthesis needed
- Integer and string addressed dynamic rows and arrays
- Arbitrary precision integer numbers and rational numbers
- dynamic UTF strings
- fields for extra data in rows and arrays
- attributes for information about an item (object)
- fault items for reliable error handling
- discretionary type system specified, but not yet tested
The compiler source code will finally be available as open source.
If you have comments or questions, write to mailto:tufpl@rclab.de or try a chat with xmpp:rainer@glaschick.de.