[tw5] An example of TiddlyWiki scripting as metaprogramming for BASIC

In the process of implementing the XOR operator in BASIC Anywhere Machine.

While I was at it, I decided to format the test program’s output a little bit.

Since PRINT USING in wwwBASIC is crap, and fixing that is not on my radar yet, I decided that this is a good use case for some “meta-programming” (i.e. TiddlyWiki scripting) to generate the BASIC program’s PRINT statements.

1 Like