Git Product home page Git Product logo

Comments (3)

ethan-leba avatar ethan-leba commented on June 12, 2024

Hey! Thanks for checking out the repo :) I actually have some major changes to the generate grammars logic in a local branch so that may or may not address this issue you're hitting here! I don't think tree-edit is useable as-is and I sadly don't have time/energy to work on it this semester so I'd honestly advise against using it currently, hopefully I'll be able to have some time to get the project into a more usable state this winter.

from tree-edit.

jesse-c avatar jesse-c commented on June 12, 2024

Ah, that makes sense! Structured editing is sort of my dream for my daily editing, so I'm keen to see how it goes—though no pressure. Best of luck with school too 😅

from tree-edit.

ethan-leba avatar ethan-leba commented on June 12, 2024

Hi again! I've finally cleaned up and pushed my code to main so tree-edit is once again in a (semi-) working state, now using emacs29 tree sitter. I've done a basic check on the elixir grammar and there doesn't seem to be any immediately catastrophic errors :) Would love to hear feedback if you get a chance to try to pick this up again!

Here's the code I used to test: dfde62a

Two notes:

  1. Elixir grammar has alot of external grammar nodes, haven't looked into the difficulty of addressing those but will likely need to be special cased
  2. Doing anything at a top-level now is likely to freeze b/c the relational parser falls over after a large enough number of nodes (not elixir specific). In the python grammar I added an override for blocks, prob need to do the same for elixir

from tree-edit.

Related Issues (20)

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.