https://github.com/ethosa/avoscript
little language just4fun
https://github.com/ethosa/avoscript
avocat language web-editor
Last synced: over 1 year ago
JSON representation
little language just4fun
- Host: GitHub
- URL: https://github.com/ethosa/avoscript
- Owner: Ethosa
- License: mit
- Created: 2022-08-10T08:56:20.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-02T07:18:28.000Z (almost 4 years ago)
- Last Synced: 2024-04-25T01:08:23.888Z (about 2 years ago)
- Topics: avocat, language, web-editor
- Language: Python
- Homepage:
- Size: 26 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# AVOScript
| ![CodeExample][] | ![CLIExample][] |
|:----------------:|:---------------:|
| Code example | CLI Example |
### little language just for fun
[](https://pypi.project/avoscript)
[](https://pypi.org/project/avoscript)
## Getting Started!
### Install
- via pip
```bash
pip install avoscript --upgrade
```
- via git
```bash
git clone https://github.com/ethosa/avoscipt
cd avoscript
pip install requirements.txt
```
### CLI
```bash
python avos.py -h
```
#### Flags
- `-v`/`--version` AVOScript version
```bash
python avos.py -v
```
- `-i`/`--interactive` interactive mode
```bash
python avos.py -i
```
- `-s`/`--script` execute script
```bash
python avos.py -s "var a = 1; echo(a);"
```
- `-f`/`--file` execute code from file
```bash
python avos.py -f tests/test_code.avo
```
#### Package Manager
- install package
```bash
python avos.py add package-name
```
- install package without packages fetching
```bash
python avos.py add package-name -nf
python avos.py add package-name --no-fetch
```
- update packages data
```bash
python avos.py --upd
```
- upload your package
```bash
python avos.py --upload
```
| [Wiki][] | [AvailableStatements][] | [Playground][] |
|----------|-------------------------|----------------|
[Wiki]:https://github.com/Ethosa/avoscript/wiki
[AvailableStatements]:https://github.com/Ethosa/avoscript/wiki/Available-Statements
[Playground]:https://ethosa.github.io/avoscript
[CodeExample]:https://user-images.githubusercontent.com/49402667/187029351-875205bf-67f7-4dac-bed7-ca2746d65ad4.png
[CLIExample]:https://user-images.githubusercontent.com/49402667/187029349-4ee9a53e-3ad6-44f4-b2c0-be1d9cc71257.png