aboutsummaryrefslogtreecommitdiff
path: root/lib/qparser/lexer.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/qparser/lexer.mli')
-rw-r--r--lib/qparser/lexer.mli7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/qparser/lexer.mli b/lib/qparser/lexer.mli
index 26d59cb..be10ddb 100644
--- a/lib/qparser/lexer.mli
+++ b/lib/qparser/lexer.mli
@@ -1,3 +1,10 @@
+(** Provide a lexer for the langage. The function [main] read the source and
+ identify the next to token to give to the parser.
+
+ Personal note: parsing the QSP is really complicated. The language was
+ designed for regex and I have to twist the lexer in order to get something
+ working. *)
+
exception EOF
exception UnclosedQuote
exception LexError of string