changes for new grammar, fixes

This commit is contained in:
ProgramSnail 2023-06-03 19:01:03 +03:00
parent 91f9affadc
commit 3106a64949
35 changed files with 605 additions and 550 deletions

View file

@ -1,8 +1,8 @@
struct StructWithRef =
& @Int_0
struct \struct-with-ref =
& @\int`0
decl test_memory : -> Unit
def test_memory = {
const unique_ref1 <- Int._new: 5
var unique_ref2 <- Array.of: 1 2 3
decl test-memory : -> \unit
def test-memory = {
const unique-ref1 <- \int..new: 5
var unique-ref2 <- \array..of: 1 2 3
}