mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-05 22:48:42 +00:00
type_check_visitor first iteration, value, execution_visitor started
This commit is contained in:
parent
173d50672a
commit
890bd90eba
22 changed files with 481 additions and 452 deletions
11
tests/test_code.lang
Normal file
11
tests/test_code.lang
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
basic String
|
||||
basic Int
|
||||
basic Unit
|
||||
|
||||
decl print : String -> Unit
|
||||
|
||||
decl func : String -> Int
|
||||
def func : s = {
|
||||
; print: s
|
||||
return 5
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue