lang: basic ast work
This commit is contained in:
parent
cfefab9fd0
commit
d6bc644fb6
13 changed files with 560 additions and 58 deletions
1
testfiles/hello.owo
Normal file
1
testfiles/hello.owo
Normal file
|
@ -0,0 +1 @@
|
|||
mod meow;
|
2
testfiles/hello/meow.owo
Normal file
2
testfiles/hello/meow.owo
Normal file
|
@ -0,0 +1,2 @@
|
|||
mod mrawr {}
|
||||
mod mrow {}
|
|
@ -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
1
testfiles/uwu.owo
Normal file
|
@ -0,0 +1 @@
|
|||
mod meow {}
|
Loading…
Add table
Add a link
Reference in a new issue