Object Notation Programming Language?
Find a file
Artemy Egorov 09aa9db003
Merge pull request #4 from artegoser/dependabot/cargo/rmp-serde-1.1.1
build(deps): bump rmp-serde from 1.1.0 to 1.1.1
2023-04-19 07:05:34 +03:00
doc doc: import 2022-08-18 17:48:02 +03:00
examples doc: timer example 2022-08-29 22:13:33 +03:00
src feat: toNumber conversion 2022-08-29 22:13:08 +03:00
static/logos doc: delete snippets 2022-08-16 20:54:56 +03:00
.gitignore doc: update and publish version 2022-08-18 17:55:49 +03:00
Cargo.lock build(deps): bump rmp-serde from 1.1.0 to 1.1.1 2023-04-19 04:05:19 +00:00
Cargo.toml build(deps): bump rmp-serde from 1.1.0 to 1.1.1 2023-04-19 04:05:19 +00:00
LICENSE feat: calc 2022-08-03 16:28:00 +03:00
README.md doc: add link to vscode extension 2022-08-16 20:53:43 +03:00
ROADMAP.md doc: import 2022-08-18 17:48:02 +03:00

onlang logo

Crates.io

You may have questions

ONLang - Object Notation Language (jsON) VSCode extension - OnLang

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