@jzitnik/dotsjs
v1.0.4
Published
Dots.js is simple 'programming language'. The entire language uses only 2 characters.
Downloads
96
Readme
Dots
Dots.js is simple "programming language". The entire language uses only 2 characters: .
and :
Install package
npm install -g @jzitnik/dotsjs
Example hello world in dotsjs
.::::.:: .::::.:: .::::::: ..:::::. ..:::... ..:.::.: :.:.:::. :.:.:..: .::::.:: :::.:... .::.::.: :::.:..: :.:.:::: :::.:::: :.:.:..: :::::.:: ....::.. ....::.. ..:.:..: .::.::.. .::.::.. .::.:::: :::.:..: .::.::.. :.:.::.. ....::.. :::.:.:. :.:.:::: :::.::.: :::.::.. :.:.:::. :::.:.:. :.:.:::: ....::.. ....::.. :::::::: ..:::::. ..:::::. :::::..: :::.::.. ..:.:..: :.:.:.:: :.:.:::: :.:.:..: :.:.:::. ..:.:..: :.:.:::: :.:.:.:: :::::..: .::::::: ....::.. ....::.. ..:.:..: .::.::.. .::.::.. .::.:::: :::.:..: .::.::.. :.:.::.. ....::.. :::.:.:. :.:.:::: :::.::.: :::.::.. :.:.:::. :::.:.:. :.:.:::: ....::.. ....::.. .::::... .::.:::. .::.:... ..:::::. ....::.. ....::.. :.:.:.:: :.:.:::. :::.:.:. ..:.:..: .::.:::. ..:.:::: :.:.:::: .:::::.: :::::..: .:::::.. :::::..: ..::::.: .::.:.:: .::.:::. :::.:.:. :::::.:: :.:.:::: ..:::::. ..:.::.: ..:.:::. ..::::.: .::.::.. :::.:::: ..:.:..: :::.:::. :::.:::: ..:.:.:: :.:.:::: .::::... ..:.:.:: :::.:::: :.:.::.: .::::.:: :::::..: :...:.:. :.:.:::: ..:.:.:: ..:.:.:: :::.:::: .::::.:. :::::.:: .::.:::: :::.:::: :::.:.:. ..:.:.:: :.:.:.:: :::::::: :::::..: .::::::: ..::::.: ..:.:::: :::.:::: :.:.:.:: :::.::.. ..:.:.:: :.:.:::: .::::... :.:.:::: .::.:..: :::.:..: :::.:::: :::.:.:. :::.:... :::.:::. ..:::::. :.:.:::: ..:.:::. .::::::: .::::.:: .::::::: ..::::.:
How to run .dots file
In the examples
folders there are some .dots files that you can run. You can run it by cloning this project and then running this:
dotsjs run script.dots
How to compile JavaScript project to single .dots file.
Dots uses @vercel/ncc for compiling JavaScript project to a singular file, then compiling the singular file to a .dots file.
dotsjs compile donut.js