UNPKG

mowascript

Version:

MowaScript language implementation

79 lines (62 loc) • 1.84 kB
# mowascript šŸŒ 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. ## šŸ“‚ Project Structure ``` 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" } } ``` ## šŸ“„ Official File Extension ``` *.mowa ← official file extension for movascript source files ``` ## 🌐 Supported Languages - Ukrainian - Russian - Belarusian - Interslavic šŸŒ€ ## šŸ”“ License MIT License. This project is free to use, modify, and contribute to. — Made with love for all Slavic people šŸŒ