[fine] Assignments!
And new error capabilities!
This commit is contained in:
parent
92cf840766
commit
f20f5a5e03
12 changed files with 400 additions and 64 deletions
|
|
@ -47,6 +47,7 @@ pub enum TokenKind {
|
|||
Fun,
|
||||
If,
|
||||
Import,
|
||||
In,
|
||||
Let,
|
||||
Or,
|
||||
Return,
|
||||
|
|
@ -292,6 +293,9 @@ impl<'a> Tokens<'a> {
|
|||
if ident == "import" {
|
||||
return TokenKind::Import;
|
||||
}
|
||||
if ident == "in" {
|
||||
return TokenKind::In;
|
||||
}
|
||||
}
|
||||
'l' => {
|
||||
if ident == "let" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue