Syntax highlighting support for the Cyrus programming language in GNU Emacs.
- Copy
cyrus-mode.elinto your Emacs configuration directory:
~/.emacs.d/lisp/
- Add the following lines to your
init.el:
(add-to-list 'load-path "~/.emacs.d/lisp")
(require 'cyrus-mode)- Restart Emacs.
Open any file with the .cyrus extension:
main.cyrus
Emacs will automatically activate cyrus-mode.
You can also enable it manually:
M-x cyrus-modepub fn main() {
const message: char* = "Hello, Cyrus!";
if (true) {
println(message);
}
}
The current implementation provides syntax highlighting only.
Future improvements may include:
- Tree-sitter support
- LSP integration
- Formatter integration
- Automatic indentation
- Code navigation
- Project tooling support