Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jank Support #23

Open
dannyfreeman opened this issue Sep 24, 2023 · 1 comment
Open

Jank Support #23

dannyfreeman opened this issue Sep 24, 2023 · 1 comment

Comments

@dannyfreeman
Copy link
Contributor

dannyfreeman commented Sep 24, 2023

We should consider having a way to support the Jank dialect of Clojure

Some interest is expressed here: jank-lang/jank#24

I would propose a new derivative mode, something like clojure-jank-ts-mode.

Jank supports some embedded code (c++). We could work to include a nested parser for this language. Good support for this may not land until Emacs 30. Currently nested parsers have a tendency to break out of their regions.

dannyfreeman added a commit that referenced this issue Sep 24, 2023
This creates a new derived mode for the clojure dialect jank
https://jank-lang.org/

See issue #23 for future work and
jank-lang/jank#24 for the expressed desire to
support nested c++
jasonjckn pushed a commit to jasonjckn/clojure-ts-mode that referenced this issue Dec 10, 2023
This creates a new derived mode for the clojure dialect jank
https://jank-lang.org/

See issue clojure-emacs#23 for future work and
jank-lang/jank#24 for the expressed desire to
support nested c++
@sogaiu
Copy link

sogaiu commented Aug 27, 2024

Wasn't sure which might be the relevant bits in Emacs, but came across this. Just leaving it here for future reference :)

Update: I guess that's the kind of thing you had in mind based on the code I see here -- (e.g. treesit-range-rules).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants