mirror of
https://github.com/LucasVbr/croissant.git
synced 2026-05-16 17:12:07 +00:00
refactor: Syntax with unit tests
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
type types =
|
||||
| IntegerType
|
||||
| FloatType
|
||||
| CharacterType
|
||||
| StringType
|
||||
| BooleanType
|
||||
| VoidType
|
||||
|
||||
let pp_types = function
|
||||
| IntegerType -> "IntegerType"
|
||||
| FloatType -> "FloatType"
|
||||
| CharacterType -> "CharacterType"
|
||||
| StringType -> "StringType"
|
||||
| BooleanType -> "BooleanType"
|
||||
| VoidType -> "VoidType"
|
||||
Reference in New Issue
Block a user