Re:T3X – a minimal procedural language
by bmh100 on Saturday May 06, 2017 @11:01AM
(#14280524)
What could it teach? Compiler design? Imperative language design? By "bootstrapping", are you referring to building a higher-level language that compiles to T3X?
[ Parent
| on HN ]
Re:T3X – a minimal procedural language
by nils-m-holm on Saturday May 06, 2017 @12:21PM
(#14280932)
It can teach the most fundamental basics of procedural language design and compiler construction: how to implement selection, loops, and functions/procedures as well as scanning, parsing, and code generation.
By bootstrapping, I'm referring to building a T3X9 compiler for a new target platform and than using that to create something more interesting. You can start the process by re-implementing the compiler or by re-targeting it.
Would studying it be helpful if I wanted to create a static analysis application on top of an existing procedural language?
Re:T3X – a minimal procedural language
by nils-m-holm on Sunday May 07, 2017 @03:30AM
(#14284321)
Static analysis involves things like partial evaluation, dataflow analysis, and type inference. None of this is covered in the T3X book.