mirror of
https://github.com/artegoser/ONLang
synced 2024-11-05 20:43:57 +03:00
doc: rename package name and publish to crates.io
This commit is contained in:
parent
86ba8686b1
commit
93bdc94c32
3 changed files with 29 additions and 16 deletions
14
Cargo.lock
generated
14
Cargo.lock
generated
|
@ -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"
|
||||
|
|
17
Cargo.toml
17
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"
|
14
README.md
14
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
|
||||
|
|
Loading…
Reference in a new issue