I made a thing.

https://codeberg.org/anaVal/oats-lang

cross-posted from: https://lemm.ee/post/52336135

11 points · 3 comments · view on lemmy.world

3 Comments

Static_Rocket@lemmy.world · 10 pts · 1y

For those who don't want to click the link for context:

OA Tree-Sitter language.

A small langauge that can be used to generate tree-sitter grammar without JS.

fxomt@lemm.ee · 3 pts · 1y (3 replies)
[ removed ]
Val@lemm.ee · 4 pts · 1y (2 replies)

I'm intending to use this for a custom language "OA" that I want to compile to Rust and JS to start with.

I don't know enough about LLVM to compile directly to machine code although I would like to.

fxomt@lemm.ee · 7 pts · 1y (1 reply)
[ removed ]
Val@lemm.ee · 4 pts · 1y

Thanks!

I intend for the language to have a similar borrow checker and type system. Which is why I'm targeting rust. It means I have something to check against when writing the tooling. (Although I'm not sure I'll get that far. My computer is littered with dead projects).