BitPuffin / boo-mode

Emacs major mode for the Boo programming language (http://boo-lang.org/)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boo Mode

A major mode for editing Boo code in emacs written from scratch rather than using another language (python) as a base since that ultimately appeared to be a maintainence issue.

Todo

These items are what still needs to be done with highest priority first:

Basic auto indentation

Create an auto-indent-function that runs when the user presses their indentation key or when the electric indentation is triggered.

Create better auto indentation

The mode should rebind indent-for-tab-command to its own to enable some features.

Indentation cycling

Region indent

Syntax Highlighting

I don’t find syntax highlighting very valuable but it should still be implemented.

Comment highlighting

Pretty much the main thing that’s valuable about syntax highlighting :) don’t wanna read code that was actually commented out with a /* two thousand lines up.

Keyword / Macro highlighting

Instead of having a list of every keyword, a much simpler heuristic to match is to simply highlight the first word of any line that ends with a colon.

Keybindings

  • C-c m b ; boo-mark-block
  • C-c s l c ; boo-toggle-single-line-control-flow

About

Emacs major mode for the Boo programming language (http://boo-lang.org/)

License:Creative Commons Zero v1.0 Universal


Languages

Language:Emacs Lisp 93.9%Language:Gherkin 6.1%