Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Latest commit

 

History

History
41 lines (24 loc) · 1.21 KB

README.md

File metadata and controls

41 lines (24 loc) · 1.21 KB

Flix Mode

Version

Unofficial Emacs major mode for the Flix programming language.

Features:

  • Syntax highlighting.
  • Rudimentary indentation support (work in progress).

Installation

Download flix-mode.el and then do the following in Emacs:

M-x package-install-file [RET] /path/to/flix-mode.el [RET]

The built-in package manager in Emacs will then install the mode.

The mode is automatically loaded when you visit a .flix file.

Known limitations

  • The indentation support is pretty crude and not nearly as automatic as in other major modes.
  • As in many other major modes, the syntax highlighting is done via regular expressions; so strange source layout can break it.

Contributing

Contributions are very welcome! If you're unfamiliar with Emacs Lisp, then the following resources are recommended reading:

License

This project is distributed under the GNU General Public License, which can be viewed by typing C-h C-c in Emacs.