(07-28-2023, 03:48 PM)grymmjack Wrote: [...]
If I am grokking this, you're building BAM as a Tiddler, right?
Now that we know a tiddler is just a small wiki page ...
BAM is just a TiddlyWiki instance. (TiddlyWiki being a quine, i.e. a single file that, once loaded in a web browser, can output itself to a file via browser download mechanism, either replacing the original file or saved as a new file depending on how you handle the "save as" prompt by your browser when downloading. TiddlyWiki having all of the HTML+CSS+javascript to make it work as a single-page-web-application wiki.)
What makes the TiddlyWiki instance a BASIC Anywhere Machine is the swath of tiddlers (i.e. the small, but some big, wiki pages) that make that TiddlyWiki instance look nothing like an au-natural TiddlyWiki instance, and provides everything needed to create and manage (a little bit like a source code repository) BASIC programs and do al of the things that support, in a light/agile way, software development process things.
Everything you see and do in BAM, that is all TiddlyWiki goodness (TW "markdown text", TW-scripting, TW-widgets, TW-QL (filtering/query language), HTML, and CSS.) Nothing javascript.
All of that said, the interpreter is javascript (wwwBASIC), all shoved into a tiddler. The tiddlywiki goodness dynamically puts together all that is needed for a BASIC program to run, or be exported, on the push of a button: the javascript, HTML, and the BASIC program are all mashed together into a string and fed as the source into an iframe.