sogaiu / tree-sitter-janet-simple

Simple Janet grammar for tree-sitter
13 stars 2 forks source link
grammar janet tree-sitter

tree-sitter-janet-simple

A Janet grammar for tree-sitter.

Status

Usable, but as tree-sitter is pre-1.0, don't forget the salt.

Content

This repository currently provides "source" files such as:

Also, things that are provided (which are actually generated) but might disappear at some point:


[1] Currently these files are generated to have ABI 13.


Misc Commentary

Coincidentally, it appears another effort by GrayJack was started at about the same time.

The main difference between these two is that GrayJack's grammar supports higher level constructs (e.g. def is recognized by the grammar) at the cost of accuracy.

There might end up being different trade-offs in either approach and my belief is that there is room in the world for multiple attempts (especially for lisp-like languages).

Credits