Skip to content

A .nanorc file for syntax highlighting in nano for the B-Minor programming language used in Notre Dame's Introduction to Compilers and Language Design course.

Notifications You must be signed in to change notification settings

Nuolong/bminor-nano-syntax-highlighting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

B-Minor Syntax Highlighting in nano

This is a simple NANORC file that highlights keywords, identifiers, and comments when using the GNU nano editor to code B-Minor. This is mainly to complement writing B-Minor test cases for the University of Notre Dame's CSE 40243/60243 course, Compilers and Language Design.

Installation

Running make install will move a copy of the syntax file into your nano syntax highlighting directory /usr/share/nano/, and append to your configuration file to include the new file.

If you do not have root privilege on your machine (i.e. you may be using a student machine), you can instead run make install-curr which will append the path to your current accessable directory to your nano configuration file.

Preview

Example of B-Minor Syntax Highlighting in nano

Uninstallation

Running make uninstall will remove the syntax file from the directory it was installed to, in addition to reversing the append to your configuration file.

Running make uninstall-curr will reverse the append to your configuration file added from make install-curr.

About

A .nanorc file for syntax highlighting in nano for the B-Minor programming language used in Notre Dame's Introduction to Compilers and Language Design course.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published