feat: Implement eval methods for expressions

This commit is contained in:
Lucàs
2024-10-26 22:40:50 +02:00
parent b493c77d70
commit 9e201e8d16
28 changed files with 638 additions and 325 deletions
+9 -7
View File
@@ -1,15 +1,17 @@
type types =
type t =
| IntegerType
| FloatType
| CharacterType
| StringType
| BooleanType
| StringType
| CharacterType
| NullType
| VoidType
let pp_types = function
let string_of_t = function
| IntegerType -> "IntegerType"
| FloatType -> "FloatType"
| CharacterType -> "CharacterType"
| StringType -> "StringType"
| BooleanType -> "BooleanType"
| VoidType -> "VoidType"
| StringType -> "StringType"
| CharacterType -> "CharacterType"
| NullType -> "NullType"
| VoidType -> "VoidType"