Custom export formats: ( tentatively) SUCCESS!

33 views
Skip to first unread message

Charlie Veniot

unread,
Jan 11, 2022, 11:24:46 PM1/11/22
to TiddlyWiki
".bas" file : exports the BASIC code in a tiddler to a .BAS text file, so that the program can be opened with other BASIC implementations (QBASIC, QB64, etc. etc.)

".bas.html" file: exports the BASIC program and all necessaries into a small HTML file with sole purpose of running the program.  So a deployable version of the program that should run in any web browser.

".bas.json" file: exports tiddlers for a BASIC program and supporting tiddlers needed for running the BASIC program in any TiddlyWiki.  Just drag the .bas.json file into a TiddlyWiki to import the tiddlers. (the BASIC program, the "RUN" button for the tiddler toolbar of a the BASIC program, the BASIC Console Window, and the HTML and javascript that interprets the BASIC program.)

See results of each export above in the attached files.  (try opening the html file in your web browser; try dragging the json into tiddlywiki.com; both cases, play donkey.bas???)

Screenshot 2022-01-11 11.57.47 PM - Display 2.png
donkey.bas.html
donkey.bas
donkey.bas.json

Charlie Veniot

unread,
Jan 12, 2022, 12:07:00 AM1/12/22
to TiddlyWiki
Of course I get an "Email issue -- Attachment Rejected" message from Talk TW.

To get to the attachments, go to the source GG post:  https://groups.google.com/g/tiddlywiki/c/Em6m7suKWqw

Reply all
Reply to author
Forward
0 new messages