-
Notifications
You must be signed in to change notification settings - Fork 66
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
Adding support for a new language #104
Comments
Please use the development branch as it is substantially different and should be somewhat simpler to set up. The python script downloads the rules and types and updates the rules file. It's required. You'll need to define the procedures for the language, with JSON being but one example of how to do it. The language definer macro in the development branch is what you want to use. |
Wow, that branch IS significantly different.
One more question; Is there a recommended starting point for adding a
new language? (e.g. getting forward sexp to work)
Thanks for your info and the package :)
|
Not really, I'm afraid. Looking at other languages and experimenting is the only way, until I add documentation. |
How's the documentation looking? It's somewhat overwhelming trying to reverse engineer hwo to add support for a new language by looking at the existing language files :). I've personally an interest in Haskell, Rust, C and Nix |
Have a read here: https://github.com/mickeynp/combobulate/wiki/Adding-a-New-Language-to-Combobulate And let me know what you think |
Thanks for writing that up @mickeynp Does the suggestion "Please use the development branch as it is substantially different and should be somewhat simpler to set up." still hold when adding a new language? I'm working on adding support for my language of choice OCaml. |
Yes, development is usually ahead of master, and should be used |
I'd like to add support for a new lanugage.
As advised in the readme, I have looked at the code for json support. This file doesn't seem to contain anything that tells combobulate that there is support for json.
Other than creating a similar file for the new language, what else do I need to do to at least tell combobulate that there is some support for a new language?
P.S. What does the
build-relationships.py
script do?Cheers.
The text was updated successfully, but these errors were encountered: