Atom package to provide syntax highlighting for the MiniZinc constraint modelling language
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixes the linting error when opening a DZN file Fix consists of splitting the MiniZinc grammars into separate grammar files

+29 -1
+4
CHANGELOG.md
··· 1 + ## 0.7.0 - Split grammar definitions 2 + - Create seperate definitions for FlatZinc + Output models and DZN files. 3 + - Fixes linting error when opening DZN files 4 + 1 5 ## 0.6.1 - Moved repository 2 6 - Change the repository URL 3 7
+12
grammars/dzn.cson
··· 1 + 'scopeName': 'source.dzn' 2 + 'name': 'MiniZinc Data File' 3 + 'comment': 'MiniZinc data files contain the values of parameters declared in a MiniZinc model.' 4 + 'fileTypes': [ 5 + 'dzn' 6 + ] 7 + 8 + 'patterns': [ 9 + { 10 + 'include': 'source.mzn' 11 + } 12 + ]
+13
grammars/fzn.cson
··· 1 + 'scopeName': 'source.fzn' 2 + 'name': 'FlatZinc' 3 + 'comment': 'FlatZinc is the target constraint modelling language into which MiniZinc models are translated' 4 + 'fileTypes': [ 5 + 'fzn' 6 + 'ozn' 7 + ] 8 + 9 + 'patterns': [ 10 + { 11 + 'include': 'source.mzn' 12 + } 13 + ]
-1
grammars/mzn.cson
··· 3 3 'comment': 'The MiniZinc medium level constraint modeling language' 4 4 'fileTypes': [ 5 5 'mzn' 6 - 'dzn' 7 6 ] 8 7 9 8 'patterns':[