Skip to content

cyrus-lang/cyrus-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Cyrus Emacs Mode

Syntax highlighting support for the Cyrus programming language in GNU Emacs.

Installation

Manual Installation

  1. Copy cyrus-mode.el into your Emacs configuration directory:
~/.emacs.d/lisp/
  1. Add the following lines to your init.el:
(add-to-list 'load-path "~/.emacs.d/lisp")

(require 'cyrus-mode)
  1. Restart Emacs.

Usage

Open any file with the .cyrus extension:

main.cyrus

Emacs will automatically activate cyrus-mode.

You can also enable it manually:

M-x cyrus-mode

Example

pub fn main() {
    const message: char* = "Hello, Cyrus!";

    if (true) {
        println(message);
    }
}

Development

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

About

Cyrus Emacs Mode (plugin)

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors