mirror of
https://github.com/artegoser/ONLang
synced 2024-12-23 01:23:46 +03:00
Object Notation Programming Language?
esoteric-languageesoteric-programming-languageexperimentexperimentalinterpreterlanguageonlangprogramming-languagescripting-language
doc | ||
examples | ||
src | ||
static/logos | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
ROADMAP.md |
You may have questions
ONLang - Object Notation Language (jsON
)
1. God, what the f**** is this
ONLang is an experimental, esoteric programming language, that allows you to use (json, json5 or yaml) for PROGRAMMING.
2. What is it for
For writing simple scripts.
3. How to write in this language
Variants of the "Hello World!"
on json5
[
"Hello world!",
["Hello", " world!" ]
{println:"Hello world!"},
{println:["Hello world!"]},
]
on yaml
main:
- Hello world!
- - Hello
- " world!"
- println: Hello world!
- println:
- Hello world!
Check the Documentation
Installation
cargo install onlang
or
Get binary from releases and add the executable file to the PATH variable
Using
on examples/example.json5
or
- Clone this repo
cargo run --quiet --release -- examples/example.json5
If you want to help create a pull request