onlang

Crates.ioonlang
lib.rsonlang
version0.6.0
sourcesrc
created_at2022-08-06 17:35:45.183362
updated_at2022-08-29 19:14:27.465474
descriptionA programming language running on json or yaml
homepagehttps://github.com/artegoser/ONLang
repositoryhttps://github.com/artegoser/ONLang
max_upload_size
id639938
size533,348
Artemy Egorov (artegoser)

documentation

https://github.com/artegoser/ONLang/blob/master/doc/main.md

README

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

Commit count: 84

cargo fmt