diff options
Diffstat (limited to 'parser.mli')
-rw-r--r-- | parser.mli | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/parser.mli b/parser.mli new file mode 100644 index 0000000..d210396 --- /dev/null +++ b/parser.mli | |||
@@ -0,0 +1,15 @@ | |||
1 | (* | ||
2 | * UPEM / L3 / Functional programming / Project: URM | ||
3 | * Pacien TRAN-GIRARD, Adam NAILI | ||
4 | *) | ||
5 | |||
6 | open Common | ||
7 | |||
8 | (* Reads a file into a string. *) | ||
9 | val string_of_file : in_channel -> string | ||
10 | |||
11 | (* Converts lexemes into instructions. *) | ||
12 | val program_of_lex : string list -> urmcmd list | ||
13 | |||
14 | (* Parses the string representation of a program. *) | ||
15 | val program_of_string : string -> urmcmd list | ||