aboutsummaryrefslogtreecommitdiffstats
path: root/lib/front.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/front.mli')
-rw-r--r--lib/front.mli7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/front.mli b/lib/front.mli
new file mode 100644
index 0000000..00fa65f
--- /dev/null
+++ b/lib/front.mli
@@ -0,0 +1,7 @@
+(** Front door: text to statements.
+
+ Wraps the generated lexer and parser so callers see one total
+ function from source text to syntax or a positioned message.
+ The REPL, the file runner, and the tests all enter here. *)
+
+val parse_string : string -> (Ast.statement list, string) result