Git Product home page Git Product logo

while-syntax-highlighter's Introduction

WHILE Syntax Highlighter

A Sublime Text syntax highlighter for the extended WHILE language, as used in the Limits of Computation module at the University of Sussex.

Authors: Toby Dennison; Bernhard Reus.

Many thanks to Bernhard for reviewing the highlighter's syntax coverage and the suitability of the colours used.

If you spot any errors, please let us know.

Tip for Speedy WHILE Programming: Download Sublime packages Terminus and Origami to open a terminal window inside of Sublime and position it where you like, respectively.

Note: There is an equivalent extension for VS Code, using the same colours.

Preview

Syntax highlighter preview.

Installation (Windows/Mac/Linux)

  1. Move the two files (WHILE.sublime-syntax, WHILE.sublime-color-scheme) to the appropriate directory, where "YOUR USERNAME" is to be replaced.

    Windows:
    C:\Users\YOUR USERNAME\AppData\Roaming\Sublime Text 3\Packages\User

    Mac/Linux:
    /Users/YOUR USERNAME/Library/Application Support/Sublime Text 3/Packages/User

  2. Open a .while program in Sublime Text.

  3. Click on the file format label in the bottom-right corner.

Click file format label.

  1. Scroll down the list of formats and select ‘WHILE Language (Limits)’.

Change file format.

  1. Change the colour scheme by navigating to ‘Preferences’ > ‘Color Scheme’.

Navigate to Color Scheme.

  1. Select ‘WHILE’ from the list of colour schemes.

Change the colour scheme.

while-syntax-highlighter's People

Contributors

tobydennison avatar davidpomerenke avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

davidpomerenke

while-syntax-highlighter's Issues

Add license

You can do so by adding a new file on Github and typing "license" in the file name field, then there is a list of options. A license would make it easy to reuse the code, e. g., for making a vscode extension.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.