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,9 +1,8 @@
struct StructWithRef =
& @Int._ // unique pointer to any-sized array (default size is zero ??)
& @Int_
decl test_memory : Unit -> Unit
def test_memory = {
const @unique_ref1 <- @5 // move unique reference
const @unique_ref1 <- @(5)
var @unique_ref2 <- @(Array.of 1 2 3)
// ?? reference to constant value ??
}