We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c9e719 + bb93c92 commit 0f3e047Copy full SHA for 0f3e047
examples/helloworld.sml
@@ -0,0 +1,3 @@
1
+
2
+(* My Hello World program *)
3
+print "Hello World!"
lib/grammars/ml.coffee
@@ -28,3 +28,17 @@ module.exports =
28
file = filename.replace /\.re$/, '.native'
29
GrammarUtils.formatArgs("rebuild '#{file}' && '#{file}'")
30
}
31
32
+ 'Standard ML':
33
+ 'File Based': {
34
+ command: 'sml'
35
+ args: ({filename}) -> return [filename];
36
+ }
37
38
+ 'Selection Based': {
39
40
+ args: (context) ->
41
+ code = context.getCode()
42
+ tmpFile = GrammarUtils.createTempFileWithCode(code, '.sml')
43
+ return [tmpFile]
44
0 commit comments