mowascript
Version:
MowaScript language implementation
79 lines (62 loc) ⢠1.84 kB
Markdown
š Other languages:
[š² Interslavic](README.md) ⢠[š East ](README.east.md) ā¢
š” ***Mowascript*** is a transpiler that allows you
to write JavaScript using Ukrainian, Russian, Belarusian, and Interslavic keywords.
```
mowascript/
āāā bin/ ā CLI interface (`mowa`)
āāā src/ ā core transpiler logic
ā āāā transpile.js
ā āāā map/ ā language dictionaries: uk, ru, by
āāā templates/ ā project template
ā āāā src/main.mowa
āāā package.json
āāā README.md
```
## š§ CLI Commands
| Command | Description |
|----------------------|---------------------------------------------------------|
| `mowa run file.mowa` | Transpiles and runs a file |
| `mowa build` | Transpiles all `.mowa` files from `src/` to `dist/` |
| `mowa init` | Creates a new project from the default template |
| `mowa watch` | Watches for changes in `src/` and automatically builds |
## š Quick Start
```bash
mowa init my-project
cd my-project
npm install
npm run build
npm start
```
## š Example `package.json`
```json
{
"type": "module",
"scripts": {
"build": "mowa build",
"start": "mowa run src/main.mowa",
"watch": "mowa watch"
},
"dependencies": {
"mowascript": "^1.0.0"
},
"devDependencies": {
"chokidar": "^4.0.3"
}
}
```
```
*.mowa ā official file extension for movascript source files
```
- Ukrainian
- Russian
- Belarusian
- Interslavic š
MIT License. This project is free to use, modify, and contribute to.
ā
Made with love for all Slavic people š