#language #tree #language-parser #programs #parser

trees-lang

Official impl of Trees (programming-language), supporting only parsing code now

1 unstable release

Uses new Rust 2024

new 0.2.4 Apr 29, 2025

#8 in #language-parser

MIT license

31KB
768 lines

This crate provides official support for Trees code. Now only exports parsing features, but it planned to export other parts in the future.


Trees

Trees は、ブロックプログラミング言語で、以下の特徴を備えています!

  • 分かりやすい (easy to understand)
  • 読みやすい (readable)
  • 曖昧性がない (clear)
        ┌─────┐
        │print│
        └───┬─┘
        ┌───┴─┐
    ┌───┤  *  ├──┐
    │   └─────┘  │
┌───┴─┐      ┌───┴─┐
│  3  │      │  4  │
└─────┘      └─────┘ 

チュートリアルは https://github.com/Snowman-s/trees/wiki を参照ください。

ビルド方法

$ git clone https://github.com/Snowman-s/Trees.git

$ cd Trees

$ cargo build --release --all

上記コマンドを実行すると、target/release 内に実行可能ファイルができているはずです。

Dependencies

~1.5MB
~22K SLoC