Top Content 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 Content Up

Next
Table of content
One big HTML document