diff --git a/README.md b/README.md index bf3c594..4d2afb1 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/example.json5 b/examples/example.json5 similarity index 100% rename from example.json5 rename to examples/example.json5 diff --git a/example.yaml b/examples/example.yaml similarity index 96% rename from example.yaml rename to examples/example.yaml index ae2854c..b7da6d9 100644 --- a/example.yaml +++ b/examples/example.yaml @@ -22,7 +22,7 @@ - var: i - sleep: 500 - - println: Test + - Test - Input a var - let: name: