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

Implement vim mode #7

Open
jasone opened this issue Feb 10, 2019 · 3 comments
Open

Implement vim mode #7

jasone opened this issue Feb 10, 2019 · 3 comments
Assignees
Labels

Comments

@jasone
Copy link
Contributor

jasone commented Feb 10, 2019

Hemlock syntax is substantially similar to that of OCaml, but there are differences worth highlighting, e.g.:

  • Hemlock's keywords don't perfectly overlap.
  • Hemlock has different builtin types (codepoint instead of char, usize, additional integer types).
  • Hemlock omits objects and polymorphic variants.
  • Hemlock has mutation sigils (!, $, and ?).
@jasone jasone added the tooling label Feb 10, 2019
@jasone
Copy link
Contributor Author

jasone commented Feb 27, 2020

I already have a kakoune mode for Hemlock, and although it's very basic, I'm finding it adequate for use during bootstrapping. We will codevelop a language server (see #48) during compiler implementation, which subsumes the less ambitious notion of a vim mode.

@jasone jasone closed this as completed Feb 27, 2020
@cevans87 cevans87 reopened this Jan 7, 2022
@cevans87
Copy link

cevans87 commented Jan 7, 2022

I need highlighting from Vim now. It looks like it'll be a fairly mechanical transformation of the Kakoune highlighter spec.

@cevans87 cevans87 self-assigned this Jan 7, 2022
@jasone
Copy link
Contributor Author

jasone commented Jan 9, 2022

FYI I have some incremental fixes/improvements in my working tree right now.

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

No branches or pull requests

2 participants