aboutsummaryrefslogtreecommitdiff
path: root/lib/Lexer.mll
diff options
context:
space:
mode:
authorMalte Voos <git@mal.tc>2024-02-19 12:57:26 +0100
committerMalte Voos <git@mal.tc>2024-02-19 16:54:45 +0100
commit407a2a4a0a440c41adc19fbe8b67283b7b7c65ab (patch)
treec55ed80f1a90741e547c0b3fa102f5f709aa1836 /lib/Lexer.mll
parent169ff6c0d196246e28c4413b43895ad5a377a2e5 (diff)
downloadtoytt-407a2a4a0a440c41adc19fbe8b67283b7b7c65ab.tar.gz
toytt-407a2a4a0a440c41adc19fbe8b67283b7b7c65ab.zip
core syntax, semantic domain, evaluation
Diffstat (limited to 'lib/Lexer.mll')
-rw-r--r--lib/Lexer.mll8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Lexer.mll b/lib/Lexer.mll
index a8410d0..3f178f5 100644
--- a/lib/Lexer.mll
+++ b/lib/Lexer.mll
@@ -20,13 +20,13 @@ rule lex =
| "," { COMMA }
| "." { DOT }
| "=>" { FATARROW }
- | "bool" { BOOL }
- | "true" { TRUE }
- | "false" { FALSE }
- | "bool-elim" { BOOL_ELIM }
| "at" { AT }
| "fst" { FST }
| "snd" { SND }
| "type" { TYPE }
+ | "bool" { BOOL }
+ | "true" { TRUE }
+ | "false" { FALSE }
+ | "bool-elim" { BOOL_ELIM }
| ident { IDENT (Lexing.lexeme lexbuf) }
| eof { EOF }