Add tokens to Lexer

This commit is contained in:
Laborratte 5 2024-07-15 22:22:56 +02:00
parent 08aba8bf40
commit fffa295d3c
Signed by: Laborratte5
GPG key ID: 3A30072E35202C02
2 changed files with 11 additions and 1 deletions

10
app/Lexer.hs Normal file
View file

@ -0,0 +1,10 @@
module Lexer where
data Token = Plus
| Minus
| Multiply
| Divide
| Integer Int
| LBrace
| RBrace
deriving Show