grammar refactoring: build_visitor fixed & visitors tested

This commit is contained in:
ProgramSnail 2023-04-11 13:49:22 +03:00
parent 3c2d496a85
commit e4802896bd
35 changed files with 118128 additions and 91770 deletions

View file

@ -1,14 +1,8 @@
alias T1 = Int;
alias T1 = Int
type (T2 : #A #B #C);
abstract (T2 : #A #B #C)
// Define file level abstract type
T2 =
| Int
| Float
| Complex;
// Compile module (functions, types, ...) for T2 = Int, Float, Complex
// ?? file level <-> module level ??
// Used to pre-compile module for some types
let T2 = Int
let T2 = Float
let T2 = Complex