Small Basic Forum
SBJS coming soon - Printable Version

+- Small Basic Forum (https://litdev.uk/mybb)
+-- Forum: Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=1)
+--- Forum: Standard Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=2)
+--- Thread: SBJS coming soon (/showthread.php?tid=412)



SBJS coming soon - sm4llprogrammer2008 - 06-24-2025

I've decided to port Small Basic to JS... Literally.
I've decided to make the SB implementation of JS also more web-friendly, and also C#-like (i.e TextWindow => Console)
Imagine making websites on SB, like the old Silverlight Small Basic Player days and SBO but web-wide.


RE: SBJS coming soon - z-s - 06-25-2025

Can see my work how I implement syntax just console and gw was missing.
https://github.com/zs-3/SBJS
https://www.zs.rf.gd/SBJS/
https://litdev.uk/mybb/showthread.php?tid=155

Code:
loop()

Sub loop
  For I = 1 To 10
    TextWindow.WriteLine(I)
  EndFor
EndSub
You can try this code here
https://www.zs.rf.gd/SBJS/

Also while and if are supported you can try and can use js objects also like Console and Math if you know js well Smile


RE: SBJS coming soon - sm4llprogrammer2008 - 06-25-2025

I rebranded my SBJS project to wwwSB (World Wide Web Small Basic)