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 302
  • Win 137
  • Mac 98
  • Linux 67
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 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 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
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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
Mac 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 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 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.