Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:tufpl:inhalt [2020-01-27 14:05] rainer |
en:tufpl:inhalt [2022-08-11 04:16] (current) rainer removed transition to TAV |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== TUF-PL ====== | ====== TUF-PL ====== | ||
- | In the last decade, I have specified and implemented a useful set of a programming language that fits my personal taste. | + | 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]], | + | **I am currently revising the language in order to publish the source code, so some details will change.** |
- | plus a simple [[http:/rclab.de/TUFPL-Online|External Link]] interface to test small programs online. | + | |
+ | There is a [[http://rclab.de/TUF-Online/TUFPL-Tutorial.html|Tutorial]] (also as {{:tufpl:tufpl-tutorial.pdf|PDF}}) and a [[http://rclab.de/TUF-Online/TUFPL.html| Language Description]] (also as {{:tufpl:tufpl.pdf|PDF}}), | ||
+ | plus a simple [[http://rclab.de/TUF-Online/|TUF-PL playground]] to test small programs online (including more elaborate examples not in the tutorial). | ||
+ | |||
+ | 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 source code for the compiler, runtime system and library will be available as open source, if there is sufficient interest in it. | ||
+ | |||
+ | If you have comments or questions, write to [[tufpl@rclab.de]] or try a chat with //tuf@glaschick.de// (XMPP). | ||