mickeynp / combobulate

Structured Editing and Navigation in Emacs with Tree-Sitter
GNU General Public License v3.0
923 stars 53 forks source link

Tree-edit collaboration #1

Open ethan-leba opened 2 years ago

ethan-leba commented 2 years ago

Hi,

This package looks very cool! I'm glad to see more developments in the structural editing space outside of the lisps. As I mentioned earlier, I'm working on a similar package tree-edit that aims to provide structural editing via. tree-sitter. It has an evil editing package, evil-tree-edit, but the core has been separated into a tree-edit package which is a library supporting some more advanced structural editing operations like raising, slurp/barf, etc. by partially implementing a parser. I'm not sure what your long-term goals are for this project, but what are your thoughts on having a shared library between the two projects, either in tree-edit the library or some other form? If you think the projects are similar enough it might be benefical to collaborate rather than having two parallel implementations going. Let me know what you think!

mickeynp commented 2 years ago

Looks really cool, Ethan. I will write about the general philosophy I'm trying to achieve with combobulate soon. It'll explain in much greater detail what I really hope to achieve.

I'm not quite sure what the parser is for thuogh? Can you explain what role it fills?

ethan-leba commented 2 years ago

Sounds good! I was being a bit vague to avoid going on a monologue, but I've pushed up a WIP document describing the implementation, and also some interactive code examples.

Let me know if that clears things up!