ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

C0

C0 for Sublime 2/3 that includes syntax highlighting & simple build system

Details

  • 2015.02.28.00.56.22
  • github.​com
  • github.​com
  • 10 years ago
  • 1 hour ago
  • 11 years ago

Installs

  • Total 5K
  • Win 3K
  • Mac 1K
  • Linux 1K
Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4
Windows 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeC0

C0 for Sublime Text 2/3 that includes syntax highlighting & simple build system

C0 is a type safe imperative language created by Frank Pfenning and is being used for the course 15-122 at Carnegie Mellon University.

Included in version 1.1

  • Syntax Highlighting (You should be able to open files with extensions “.c0” & “.h0” and get a pleasant syntax highlighting)
  • Simple Build System, runs currently on Linux. Pressing Ctrl+B will compile your file without including any option and will create an executable with the name of the file appened with _test

Features we are working on

  • More syntax highlighting (I am compiling a list of syntax highlighted objects)
  • Build System that works on Mac & Windows that allows the user to include libraries & options/flags

Installation

There are 2 ways to install the C0 package. The 2 ways are:

Using Package Control:

Make sure you have Sublime Text 2/3 installed and follow the steps below:

  1. Install Package Control, follow instructions here
  2. Press on Tools > Command Palette and search for Install Package then press Enter
  3. Search for C0, you should find the package, then click Enter to install

You have installed the package, enjoy!

Clone the SublimeC0 Repository:

This way would require more work than using the Package Control but will be convenient for getting the latest updates. In this way, you need to clone the SublimeC0 repo to your “Sublime Packages” directly. This would allow you to get the latest updates when you just call git pull

If you ever find issues with this package, please make sure to raise an issue on github. I would do as much I could to make sure this package is of high standards

LICENSE

This project is licensed under MIT's License, please look at the LICENSE file.