add parser

This commit is contained in:
nora 2021-10-30 18:29:56 +02:00
parent 03fe10d7c0
commit a0e17c6042
4 changed files with 163 additions and 38 deletions

View file

@ -48,6 +48,8 @@ pub enum TokenType<'code> {
// ident
Ident(&'code str),
// punctuation
/// ;
Semi,
/// +
Plus,
/// -