mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-05 22:48:42 +00:00
partition syntax changed, interface modifier added
This commit is contained in:
parent
3fca384446
commit
b1aff1935d
22 changed files with 299 additions and 266 deletions
|
|
@ -1,11 +1,9 @@
|
|||
partition TEST { // or .test.lang filename
|
||||
decl something : Unit -> Unit
|
||||
test All::Dev::Syntax::testing {
|
||||
const a = 31
|
||||
; do_something: a
|
||||
}
|
||||
|
||||
partition INTERFACE { // or .interface.lang filename
|
||||
decl something : Unit -> Unit
|
||||
}
|
||||
|
||||
partition CODE { // or .core.lang filename
|
||||
decl something : Unit -> Unit
|
||||
exec App::exe {
|
||||
const b = 1117
|
||||
; do_something_different: b b
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue