version 9.0 release #9
ValKmjolnir
started this conversation in
General
Replies: 3 comments 1 reply
-
有交流的地方吗?或者QQ群类似的,有些代码看不是很懂,比如为啥内建函数的使用为啥一定要包一层函数才能直接使用等 |
Beta Was this translation helpful? Give feedback.
1 reply
-
用的人还是比较少,所以没有建群,不过如果你想要的话我可以建一个。
内建函数是通过一条特殊指令`callb`来调用的,而不是走常规的函数调用`callfv`,所以局部作用域的变量需要通过常规函数来加载,这个栈帧的指针会被直接传递给内建函数。
由于这是个早期的遗留设计,所以到现在也没有进行重新改动,安全性问题会在未来的发行版中解决。
如果你想知道vm的每个指令的作用,我可以在空闲的时候增加一下vm的描述文档。
…---Original---
From: ***@***.***>
Date: Thu, Aug 4, 2022 10:29 AM
To: ***@***.***>;
Cc: "Li ***@***.******@***.***>;
Subject: Re: [ValKmjolnir/Nasal-Interpreter] version 9.0 release (Discussion #9)
有交流的地方吗?或者QQ群类似的,有些代码看不是很懂,比如为啥内建函数的使用为啥一定要包一层函数才能直接使用等
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
vm improvement and bug fix
new feature:
\e
import("lib.nas")
to use lib functionsThis discussion was created from the release version 9.0 release.
Beta Was this translation helpful? Give feedback.
All reactions