Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A draft build system for ATS on SublimeText
{
"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
You can’t perform that action at this time.