mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-17 04:08:44 +00:00
'as' pattern
This commit is contained in:
parent
00e808a921
commit
12c90391b9
8 changed files with 89 additions and 31 deletions
|
|
@ -310,7 +310,8 @@ let compile env code =
|
|||
let env, code = call env ".sexp" (n+1) false in
|
||||
env, [Mov (L env#hash t, s)] @ code
|
||||
|
||||
| DROP -> snd env#pop, []
|
||||
| DROP ->
|
||||
snd env#pop, []
|
||||
|
||||
| DUP ->
|
||||
let x = env#peek in
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue