diff --git a/Cargo.lock b/Cargo.lock index 2129e4a..14d75d6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -190,7 +190,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836" [[package]] -name = "on" +name = "once_cell" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" + +[[package]] +name = "onla" version = "0.1.0" dependencies = [ "clap", @@ -201,12 +207,6 @@ dependencies = [ "serde_yaml", ] -[[package]] -name = "once_cell" -version = "1.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18a6dbe30758c9f83eb00cbea4ac95966305f5a7772f3f42ebfc7fc7eddbd8e1" - [[package]] name = "os_str_bytes" version = "6.2.0" diff --git a/Cargo.toml b/Cargo.toml index acb6e48..be7b9aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,20 @@ [package] -name = "on" +name = "onla" version = "0.1.0" edition = "2021" +author = ["artegoser"] +license = "MIT" +description = "A programming language running on json or yaml" +repository = "https://github.com/artegoser/ONLang" +homepage = "https://github.com/artegoser/ONLang" +documentation = "https://github.com/artegoser/ONLang/blob/master/doc/main.md" +readme = "./README.md" +keywords = ["programming-language", "interpreter", "yaml", "json", "json5"] +categories = ["compilers"] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[[bin]] +name = "onla" +path = "src/main.rs" [dependencies] serde = { version = "1.0", features = ["derive"] } @@ -11,4 +22,4 @@ json5 = "0.4.1" serde_json = "1.0" serde_yaml = "0.9" clap = { version = "3.2", features = ["derive"] } -colored = "2" +colored = "2" \ No newline at end of file diff --git a/README.md b/README.md index 4d2afb1..c3a9062 100644 --- a/README.md +++ b/README.md @@ -12,18 +12,20 @@ ONLang is an experimental, esoteric programming language, that allows you to use For writing simple scripts. -## 3. How run scripts +## 3. How to write in this language + +[Documentation](doc/main.md) + +## Installing + +## Using 1. Add the executable file to the path variable -2. `on example/example.json5` +2. `onla example/example.json5` or 1. Clone this repo 2. `cargo run --quiet --release -- example/example.json5` -## 4. How to write in this language - -[Documentation](doc/main.md) - If you want to help create a pull request