Skip to content

Decurity/tree-sitter-circom

Repository files navigation

🌴 tree-sitter-circom

Test grammar

💡 this grammar is still in development, the structure of the generated AST is not stable

This repository contains a grammar for tree-sitter.

The goal of this project is to provide an parser efficient low-dependency parser for circom which targets most circom versions in use and is designed for enabling metaprogramming.

Navigating this repository

The primary file in this repository is grammar.js which describes the tree-sitter grammar.

# Primary file:
grammar.js
# Tests:
/test/**/*

# Auto generated:
/src/**/*
index.js
binding.gyp

References

-> Circom Documentation:

-> Tree-sitter Solidity grammar:

Major inspriration & some structures have been taken from tree-sitter-solidity, a big thanks to the contributors to this repo!

Releases

No releases published

Packages

No packages published