Add type-checking for the majority of language features
This commit is contained in:
parent
b0420a9a5f
commit
dc9cfcd211
4 changed files with 145 additions and 14 deletions
|
@ -1,6 +1,6 @@
|
|||
use std::fmt;
|
||||
|
||||
#[derive(PartialEq, Debug)]
|
||||
#[derive(PartialEq, Debug, Clone)]
|
||||
pub enum Type {
|
||||
Int,
|
||||
Bool,
|
||||
|
|
Reference in a new issue