1.3.0 • Published 3 years ago
uascript v1.3.0
UaScript
Ukrainian programming language
To run demo:
(in cloned this project from git)
npm i
npm run demo
How to use in own projects
Before you need to install Node.js
Run
npm initand complete all actions.Run script inside npm project:
npm i uascriptCreate folder with your
srcsource and create insideindex.uas- Next input into
index.uasfile simple code to say hello to this world:)
функція Головна() {
написати("Привіт, світ!");
}
Головна();- Then create
uas.config.jsonconfig file in the root of your project. And insert there next:
{
"from": "src",
"to": "dist"
}The tree of your project should be something like this:
├── _src
│ └── index.uas
│ _uas.config.json
├── _package.json
...- Then open console and execute only
uasAfter that UaScript compiles into JS
- Run this and enjoy 🦄
node dist