Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added main program and run script

  • Loading branch information...
commit 037a985dedc13377edaa386a33011e411f74e9c2 1 parent 519d1cf
@nrnrnr authored
Showing with 7 additions and 0 deletions.
  1. +3 −0  lint
  2. +4 −0 top.sml
View
3  lint
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec sml @SMLcmdname="$0" @SMLload=lint.x86-linux "$@"
View
4 top.sml
@@ -18,4 +18,8 @@ structure Lint = struct
of MLParser.PARSE dec => SOME (lint source dec; dec)
| _ => NONE
end
+
+
+ fun run (prog, argv) =
+ (app (ignore o parse) argv; OS.Process.success)
end
Please sign in to comment.
Something went wrong with that request. Please try again.