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

C0

by mahmoudalismail ST2/ST3

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

Details

  • 2015.02.28.00.56.22
  • github.​com
  • github.​com
  • 5 years ago
  • 2 hours ago
  • 6 years ago

Installs

  • Total 4K
  • Win 2K
  • OS X 932
  • Linux 860
Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3
Windows 0 1 3 0 2 2 0 0 0 0 1 0 1 2 1 1 0 2 0 2 1 2 0 2 0 0 2 0 0 2 2 1 0 0 3 1 3 0 1 2 3 5 1 0 1 1
OS X 0 0 0 0 0 2 0 0 1 0 0 0 0 0 0 0 0 2 0 0 1 0 0 1 1 0 0 1 0 0 0 0 0 0 1 0 0 2 1 0 0 1 1 1 0 0
Linux 0 1 0 0 1 2 0 0 0 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 1 0 1 0 0 0 1 1 0 1 0 0 0 0 1 0 0 1 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.