| 1 |
(* mllex-tool.sml |
| 2 |
* |
| 3 |
* Plugin for the "mllex" CM tool class that causes "legacy" ml-lex |
| 4 |
* input to be processed by "ml-ulex --ml-lex-mode". |
| 5 |
* |
| 6 |
* Copyright (c) 2007 by The Fellowship of SML/NJ |
| 7 |
* |
| 8 |
* Author: Matthias Blume ([email protected]) |
| 9 |
*) |
| 10 |
structure ULexMLLexTool = struct |
| 11 |
val _ = Tools.registerStdShellCmdTool |
| 12 |
{ tool = "ULex-ML-Lex", |
| 13 |
class = "mllex", |
| 14 |
cmdStdPath = fn () => ("ml-ulex", ["--ml-lex-mode"]), |
| 15 |
template = NONE, |
| 16 |
extensionStyle = Tools.EXTEND [("sml", SOME "sml", fn too => too)], |
| 17 |
dflopts = [] } |
| 18 |
end |