Files
sml-projects/imperative-shell/shell.sml

17 lines
394 B
Standard ML
Raw Normal View History

2024-07-28 14:22:17 +01:00
structure Shell =
struct
2025-08-26 13:58:42 +01:00
fun main () =
case CommandLine.arguments () of
["-r"] => (print "todo: convert dsc files to sml file\n")
| [] => InitGlfw.main ()
| args =>
let
val args = String.concatWith "" args
val msg = String.concat ["unknown arguments error: \"", args, "\"\n"]
in
print msg
end
2024-07-28 14:22:17 +01:00
end
val _ = Shell.main ()