2023.1.0 • Published 3 years ago
@no-slow/dustbin v2023.1.0
Dustbin
A simple programming language made with JavaScript.
Installation
You can install dustbin by downloading from NPM:
npm i -g dustbinUsage
The Dustbin programming language is run from the command line. There are three available commands:
-v,--version- print the version of Dustbin-h,--help- print the help information-r,--run- run a.dumpfile
Here is an example of how to run a .dump file:
dustbin -r example.dumpDustbin Syntax
The Dustbin language uses a syntax similar to JavaScript. To print output to the console, use the dump.console function, like so:
dump.console(string: 'Hello, World!');To pass a number, remove the quotes and prefix the value with number:. For example:
dump.console(number: 42);Contributing
If you would like to contribute to the Dustbin project, feel free to fork the repository and create a pull request with your changes.
License
Dustbin is licensed under the MIT License.
2023.1.0
3 years ago