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

Gringo

by tobielf ST3

A syntax highlighting plugin for Answer Set Programming

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

sublime-syntax-clingo

A syntax highlighting plugin for Answer Set Programming (ASP).

Previously I was using the “SWI-Prolog” syntax highlighting plugin for my ASP code. However, it does not support the ASP program with Python script in it, and it can't highlight ASP choice rules. I couldn't find a solution for it, so I wrote one. Feel free to use it, and let me know if you have any questions/bugs/suggestions.

How to use

Automatic Installation

This package has been merged into the Package Control channel provided by SublimeHQ. I would highly recommend you to install from Package Control, so that you can get the latest updates automatically.

  1. Goto Package Control: Install Pacakge.
  2. Search for Gringo.
  3. Hit the enter.
  4. Done.

Manual Installation

  1. Download the gringo.sublime-syntax, gringo.tmPreferences and Gringo.sublime-build.
  2. Open your SublimeText, select "Preference"->"Browse Packages..."
  3. Your file manager will open the Package for you.
  4. Put the downloaded files under User folder.
  5. Done.

VIM User

I treat SublimeText as a GUI version of VIM. If you are a VIM user, you can visit rkaminsk's repo and get a plugin for vim.