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

exoscheme-ts-mode: Create a tree sitter version #1

Open
jamesaorson opened this issue Oct 10, 2024 · 0 comments
Open

exoscheme-ts-mode: Create a tree sitter version #1

jamesaorson opened this issue Oct 10, 2024 · 0 comments
Assignees

Comments

@jamesaorson
Copy link
Contributor

  • Create a new file exoscheme-ts-mode.el in the root
  • Reference the emacs-tree-sitter/tree-sitter-langs repo to understand how grammars are built. Racket has a grammar here. Ours can probably start as a subset of that, then be changed as needed.
    1. Try racket’s grammar, unedited, as your first test. Just copy the grammar for use for scheme.
    2. Strip it down as needed for Scheme.
    3. Currently we support guile specifically, but we should support all of the popular schemes. This means supporting not only #:keyword but also :keyword, etc.
  • Reference c3-ts-mode for much of what you do.
@jamesaorson jamesaorson self-assigned this Oct 10, 2024
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

1 participant