Skip to content

dbp/sublime-parsel

Repository files navigation

About

This is a Sublime Text 2 syntax highlighting package for a toy language called ParselTongue that is used in Brown CS's course on programming languages. If you aren't taking that class, this will not be useful to you.

Installing

If you have Package Control installed, then run Package Control: Add Repository and enter http://github.com/dbp/sublime-parsel; then you can Package Control: Install Package and enter sublime-parsel.

Alternatively, you can either copy or symlink ParselTongue.tmLanguage and ParselTongueComments.tmPreferences in the User packages folder (accessible via a menu, varies by platform). It will then recognize .psl files as ParselTongue and highlight accordingly.

It also has a build system, but it expects that you will have a shell script named psl in the path. You can create one by putting something like this:

#!/bin/bash
/path/to/assignment1-<platform> --interp < $1

in your path.

Improvements

There may be mistakes or things it doesn't highlight - feel free to make changes, but make changes to the .JSON-tmLanguage file, and use the sublime package AAAPackageDev to convert that to the propertylist file. Pull requests welcome, but if you have only changes the .tmLanguage file, they will be rejected.

Contributors

Daniel Patterson (dbp) Ganesh Gunasegaran (itsgg)

About

A syntax highlight package for the toy language used in Brown CS173

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published