Version 12 of TAL

Updated 2007-01-10 17:50:42 by AK

Tcl Assembly Language.

See MS's bytecode engine ideas and The anatomy of a bytecoded command for more explanations.


CMcC: I've put some incomplete work on tcl script generation of bytecodes here: http://sharedtech.dyndns.org/~colin/bytecode.tar.gz

It dates from Apr03, and may not even compile - it's certainly incomplete.


Zarutian 28. oktober 2006: hmm... speficfying the grammar of TAL shouldnt be hard.

Backus Naur Forms:

  <statement> ::= [<label>] <instruction> "\n"
  <label>   ::= <alpanumeric string> ":"
  <instruction> ::= <mnomic name> [<parameter>]*

Type of instructions needed:

  • Arithmetic and logic operations
  • Input/Output
  • Memory fetching and storage
  • Branching

But the question is: what architecture does TAL target? Tcl bytecodes?

AK (Jan 10 2007): AFAIK it would target Tcl bytecodes. As for the grammar, I would say it should be a list representation in general, and anything more formatted can be derived from that, i.e. for display, maybe editing, etc.


Category Acronym