mirror of
https://github.com/artegoser/ONLang
synced 2024-12-23 01:23:46 +03:00
doc: move examples to example folder
This commit is contained in:
parent
91aec883c8
commit
2fa057c5e7
3 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@ ONLang - Object Notation Language (js`ON`)
|
|||
|
||||
## 1. God, what the f\*\*\*\* is this
|
||||
|
||||
ONLang is an experimental, esoteric programming language, that allows you to use **json** for **PROGRAMMING**. The interpreter currently supports only json5 format.
|
||||
ONLang is an experimental, esoteric programming language, that allows you to use (**json or yaml**) for **PROGRAMMING**. The interpreter currently supports only json5 format.
|
||||
|
||||
## 2. What is it for
|
||||
|
||||
|
@ -15,12 +15,12 @@ For writing simple scripts.
|
|||
## 3. How run scripts
|
||||
|
||||
1. Add the executable file to the path variable
|
||||
2. `on example.json5`
|
||||
2. `on example/example.json5`
|
||||
|
||||
or
|
||||
|
||||
1. Clone this repo
|
||||
2. `cargo run --quiet --release -- example.json5`
|
||||
2. `cargo run --quiet --release -- example/example.json5`
|
||||
|
||||
## 4. How to write in this language
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
- var: i
|
||||
- sleep: 500
|
||||
|
||||
- println: Test
|
||||
- Test
|
||||
- Input a var
|
||||
- let:
|
||||
name:
|
Loading…
Add table
Reference in a new issue