mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-25 13:07:13 +00:00
grammar refactoring: build_visitor fixed & visitors tested
This commit is contained in:
parent
3c2d496a85
commit
e4802896bd
35 changed files with 118128 additions and 91770 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue