mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-01 03:38:19 +00:00
const -> let
This commit is contained in:
parent
3ae6ed079d
commit
189306df26
33 changed files with 406 additions and 285 deletions
|
|
@ -1,10 +1,14 @@
|
|||
test all.dev.syntax.testing {
|
||||
const a = 31
|
||||
let a = 31
|
||||
; do-something: a
|
||||
}
|
||||
|
||||
exec app.exe {
|
||||
const b = true
|
||||
const c = false
|
||||
let b = true
|
||||
let c = false
|
||||
; do-something-different: b b c
|
||||
}
|
||||
|
||||
example func.basic-example {
|
||||
; func: a b c // func executed
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue