lib/mllpt-lib/ml-lpt/ml-antlr/tool/tool.sml
raw| 1 | (* |
| 2 | * Running ML-Antlr from CM. |
| 3 | * |
| 4 | * (C) 2007 The Fellowship of SML/NJ. |
| 5 | *) |
| 6 | structure AntlrTool = struct |
| 7 | val _ = Tools.registerStdShellCmdTool { |
| 8 | tool = "ML-Antlr", |
| 9 | class = "ml-antlr", |
| 10 | cmdStdPath = fn () => ("ml-antlr", []), |
| 11 | template = NONE, |
| 12 | extensionStyle = |
| 13 | Tools.EXTEND [("sml", SOME "sml", fn too => too)], |
| 14 | dflopts = [] |
| 15 | } |
| 16 | end |