forked from jcartledge/sublime-worksheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworksheet.sublime-settings
50 lines (50 loc) · 1.45 KB
/
worksheet.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"worksheet_defaults": {
"timeout": 10,
"ignore": [],
"prefix": "// > ",
"error": ["[A-Z][a-z]+Error:"]
},
"worksheet_languages": {
"JavaScript": {
"cmd": "node -e \"require('repl').start('node> ')\"",
"prompt": ["node> ", "\\.\\.+ "],
"ignore": ["^\\n"]
},
"Perl": {
"cmd": "re.pl --rcfile=\"{repl_base}/perl/perl.rc\" --profile Minimal",
"prompt": [">>> "],
"prefix": "# > ",
"error": ["[A-Z][a-z]+error:"]
},
"PHP": {
"cmd": "php -a",
"prompt": ["(php|>>>) [>{\\('\"] "],
"error": ["PHP Parse error:", "PHP Fatal error"],
"ignore": ["<\\?php", "\\?>"]
},
"Python": {
"cmd": "python -i",
"prompt": [">>> ", "\\.\\.+ "],
"prefix": "# > ",
"error": ["Traceback ", " File \"<stdin>\","]
},
"Racket": {
"cmd": "guile",
"prompt": ["guile>"],
"prefix": ";; > ",
"error": ["ERROR:"],
"ignore": ["^[\\s]*\n", "^[\\s]*;;"]
},
"Ruby": {
"cmd": "irb --prompt simple",
"prompt": [">> ", "\\?>"],
"prefix": "# ="
},
"Scala": {
"cmd": "scala",
"prompt": ["scala> ", " \\| "],
"error": ["<console>:[0-9]+: error:"]
}
}
}