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 312
  • Win 142
  • Mac 100
  • Linux 70
Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21
Windows 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 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 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
Linux 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 0 0 0 0 0 0 0 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.