lang: basic ast work

This commit is contained in:
Schrottkatze 2024-06-05 18:00:14 +02:00
parent cfefab9fd0
commit d6bc644fb6
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
13 changed files with 560 additions and 58 deletions

1
testfiles/hello.owo Normal file
View file

@ -0,0 +1 @@
mod meow;

2
testfiles/hello/meow.owo Normal file
View file

@ -0,0 +1,2 @@
mod mrawr {}
mod mrow {}

View file

@ -1,11 +1,8 @@
use hello::meow;
def hello_world = meow [ 1 2 ];
def test
mod hello {
use gay:;uwu_meow::*;
def meow = uwu;
mod hello;
mod world {
mod meow {}
mod uwu {
mod test {}
mod meow {}
}
}

1
testfiles/uwu.owo Normal file
View file

@ -0,0 +1 @@
mod meow {}