Created
October 7, 2016 01:53
-
-
Save steinwaywhw/27d8fbb569cf178d08d9465aa92c741e to your computer and use it in GitHub Desktop.
A draft build system for ATS on SublimeText
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"cmd": ["patscc", "$file"], | |
"shell": false, | |
"selector": "source.ats", | |
"env": { | |
"PATH": "$PATH:<YOUR ATS BIN DIR>", | |
"PATSHOME": "<YOUR PATSHOME>"}, | |
"file_regex": "^(.+): \\d+\\(line=(\\d+), offs=(\\d+)\\) -- \\d+\\(line=\\d+, offs=\\d+\\): (.+)", | |
"variants": [ | |
{ | |
"name": "Type Checking", | |
"cmd": ["patscc", "-tcats", "$file"] | |
},{ | |
"name": "Compile with GC", | |
"cmd": ["patscc", "-DATS_MEMALLOC_LIBC", "$file"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment