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

Coalton mode #1093

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Coalton mode #1093

wants to merge 13 commits into from

Conversation

jbouwman
Copy link
Contributor

@jbouwman jbouwman commented Apr 17, 2024

Support font lock, indentation, navigation, evaluation.

Uses tree-sitter for fonts and indent: requires Emacs 29+

Punchlist

  • full tree-sitter grammar
  • fontification
  • indentation
  • eval definition at point (via slime extension)
  • jump to definition at point

jbouwman and others added 12 commits April 23, 2024 15:02
- move package parser to separate input file
- use output classes to implement codegen and ast dumping
- support direct compilation of files
Initial work loading grammar
- indent all sublists by 2 characters
- add example .coalton file
entries for types, instances and functions
query before installing grammar dylib
regenerate defpackages in source
provide for comments in generated source
add key bindings
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

Successfully merging this pull request may close these issues.

None yet

1 participant