ONLang - Object Notation Language (jsON
)
VSCode extension - OnLang
ONLang is an experimental, esoteric programming language, that allows you to use (json, json5 or yaml) for PROGRAMMING.
For writing simple scripts.
Variants of the "Hello World!"
on json5
json5
[
"Hello world!",
["Hello", " world!" ]
{println:"Hello world!"},
{println:["Hello world!"]},
]
on yaml
yaml
main:
- Hello world!
- - Hello
- " world!"
- println: Hello world!
- println:
- Hello world!
Check the Documentation
cargo install onlang
or
Get binary from releases and add the executable file to the PATH variable
on examples/example.json5
or
cargo run --quiet --release -- examples/example.json5
If you want to help create a pull request