GithubHelp home page GithubHelp logo

isaacazuelos / tree-sitter-kurt Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 133 KB

A Tree Sitter grammar for Kurt

License: MIT License

Python 0.07% C++ 0.21% JavaScript 3.76% Rust 0.79% Nix 0.13% C 95.04%
parser plt tree-sitter

tree-sitter-kurt's Introduction

Tree-Sitter Kurt

A Tree Sitter grammar for Kurt, a language project.

I ended up giving up on using tree sitter becuase recovering error messages from it's parse tree was too inconsistent. I tried to use the query system to catalog and detect errors for better messages, but the context around the error effected how recovery happened too much for it to be predicatble.

There were a few smaller issues as well, such as MISSING nodes not setting of has_error so we needed two different strategies for detecting missing nodes versus detecting error nodes.

Tree sitter is an impressive project though. I'll definitly write a tree sitter parser again if I get to a point where I'm interested in tooling with a future language project.

tree-sitter-kurt's People

Contributors

isaacazuelos avatar

Watchers

 avatar  avatar

tree-sitter-kurt's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.