Shen language support for Sublime Text 3
Python Shen
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
Comment.tmPreferences
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap
Default (Windows).sublime-keymap
Default.sublime-commands
LICENSE.txt
Main.sublime-menu
README.md
Shen.YAML-tmLanguage
Shen.sublime-settings
Shen.tmLanguage
datatype.sublime-snippet
defcc.sublime-snippet
define-typed.sublime-snippet
define.sublime-snippet
defmacro.sublime-snippet
defprolog.sublime-snippet
example.shen
format.shen
format_shen.py
screenshot.png

README.md

Sublime/Shen

Shen language support for Sublime Text 3.

Features

  • Syntax Highlighting - detects files matching the pattern *.shen.
  • Comments - Applies Shen-style single line (\\) and multi-line (\* ... *\) comments using standard commands/shortcuts.
  • Snippets - generate skeleton forms for define, defmacro, defcc, defprolog, etc.

Preview

Screenshot

Automatic Installation

Sublime/Shen is available from Package Control under the name Shen.

Manual Installation

Download this repo as an archive or git clone it under the Packages directory under your Sublime user path.

On Windows, this is something like C:\Users\%USER_NAME%\AppData\Roaming\Sublime Text 3\Packages.

Once the sublime-shen package is in place, just restart Sublime, and it should be ready to go.

Future Work

  • Formatting
  • Linting
  • Suggested Refactors
  • Build System

Contributing

Use PackageDev for Sublime to edit syntax definitions. Make changes to Shen.YAML-tmLanguage and then re-generate Shen.tmLangauge by hitting F7. Edits made directly to Shen.tmLanguage will get overwritten.