1.0.3 • Published 3 years ago
sobl v1.0.3
sbl
is some bad language written in JavaScript.
Note:
sbl
currently only has 2 commands. Use is very limited.Installation
- Make sure Node.js is installed.
- Run
npm i -g sobl
How to use:
- Make a .sbl file.
- Write
!PROGRAM
to run the sbl program below. You can also wrap it in another!PROGRAM
command. - Run the sbl program with
sobl
file-name.sbl
Commands
- !PROGRAM - Starts the program, anything below is the program. This could be closed with another
!PROGRAM
- PRINT string - Prints a string
Example
// Parts above the PROGRAM command are considered comments.
// P.S. You don't need the //, it is just for syntax highlighting purposes.
!PROGRAM
PRINT "Hello World!";
PRINT "This will be printed out too";
OTHERCMD "This command cannot be identified, thus is a comment and will be ignored.";
!PROGRAM
// Another PROGRAM command wraps the program [not required], so the parts below are also comments.