1. Using tags
2. Tag list
3. One little example
4. Tag definition
4.1 call
4.2 f
4.3 glocal
4.3.1 Using nested glocals
4.4 mod
4.5 obj
5. Creating components
5.1 Definition
5.2 Implementation
5.3 Taking advantage of the C++ implementation
5.4 Calling functags
5.5 Extending the functor classes
5.6 Adding content to the functor
5.7 Grabbing the functor address
Top Up

1. Using tags

Next

The TLMP system is mapped over standard C++. The TLMP constructs are presented with HTML like tags. This was done for various reasons:

  • Tools to manipulate the tree structure of a program must work even if the underlying C++ is broken (A { is missing). The tledit editor is one of those. It can show the high level tree structure of a program directly and manipulate the code at this level.
  • It is easy to parse, so the implementation of tlcc (the TLMP to C++ translator) is a simple project.
  • It is somewhat readable. You can use any editor to write TLMP code.

So TLMP tags are generally working like this

<tag>
....
</tag>

<tag parameter>
...
</tag>

TLMP tags

Top Up

Next
One big HTML document