Object Notation Programming Language?
Find a file
2022-08-08 17:44:49 +03:00
doc doc: add concepts roadmap 2022-08-06 18:24:39 +03:00
examples doc: move examples to example folder 2022-08-06 18:24:12 +03:00
src refactor: remove unused returns 2022-08-08 17:38:09 +03:00
static/logos doc: rename logos 2022-08-04 19:09:37 +03:00
.gitignore feat: print 2022-08-02 17:58:00 +03:00
Cargo.lock doc: another rename 2022-08-06 20:35:24 +03:00
Cargo.toml doc: another rename 2022-08-06 20:35:24 +03:00
LICENSE feat: calc 2022-08-03 16:28:00 +03:00
README.md doc: hello world examples 2022-08-08 17:44:49 +03:00
ROADMAP.md feat: check the existence 2022-08-08 17:28:04 +03:00

onlang logo

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

  1. Clone this repo
  2. cargo run --quiet --release -- examples/example.json5

If you want to help create a pull request

License

FOSSA Status