Skip to content

BitPuffin/boo-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors