06-25-2025, 01:48 PM
Z-S shared me a project while I started to create SBJS, and I think it's fast enough, very well engineered.
First I tried this:
It probably made sense to include a semicolon, because it maybe was just custom JS objects + classes running with eval() on the background.
Then went on to test some classic SB syntax:
Surprisingly, it worked.
Then tested this:
Also it used the browser's native input box dialog instead of a text cursor within the console.
Then tested JS multiline notes:
It was ignored. Didn't throw any errors.
It probably supported my belief of custom JS objects + classes on the background running with eval(). Z-S is truly a web mastermind, and I appreciate that.
Anyway you can try Z-S's SB.js at https://www.zs.rf.gd/SBJS/
First I tried this:
Code:
textwindow.writeline("hello, world!");
Then went on to test some classic SB syntax:
Code:
for i=1 to 5
textwindow.write("Hello, world! ");
endfor
Then tested this:
Code:
uinput = textwindow.read();
textwindow.writeline(uinput);
Also it used the browser's native input box dialog instead of a text cursor within the console.
Then tested JS multiline notes:
Code:
/* Multiline notes
on SB.js */
It probably supported my belief of custom JS objects + classes on the background running with eval(). Z-S is truly a web mastermind, and I appreciate that.
Anyway you can try Z-S's SB.js at https://www.zs.rf.gd/SBJS/