refactor: Syntax with unit tests

This commit is contained in:
Lucàs
2024-07-08 16:44:42 +02:00
parent 6df363c78d
commit 2e76ccf9fc
39 changed files with 460 additions and 771 deletions
+8
View File
@@ -0,0 +1,8 @@
open Statements
type source_files = SourceFile of statements
let pp_source_files = function
| SourceFile stmts ->
let pp_stmt = pp_statements stmts in
Printf.sprintf "SourceFile(%s)" pp_stmt