blob: 6e9d2c85389ec347df10ab400a65c87aafc3edb7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
module Make (NT : Nt.S) = struct
module Exec = Executor.Make (NT)
type configuration = unit
type ast = Ast.statement
let name = "dml"
let parse _ = Ok ()
let parse_sexp sexp = Parser.of_sexp sexp
let execute ctx ast =
match Exec.execute ctx ast with
| Ok delta -> Ok (Sublanguage_types.Transition delta)
| Error e -> Error e
end
|