diff options
author | pacien | 2018-04-20 23:32:38 +0200 |
---|---|---|
committer | pacien | 2018-04-20 23:32:38 +0200 |
commit | 3f25710a891dfcd17f597c16dfedf5499bc1bbd6 (patch) | |
tree | 71bec80335de3820994d26c68bb4cc8ca961789a /parser.mli | |
parent | 2e6e365262b7dc072d7ac35ff867f309e3ff784c (diff) | |
download | urm-3f25710a891dfcd17f597c16dfedf5499bc1bbd6.tar.gz |
Modularize everything
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 | ||