nature
nature copied to clipboard
文档错别字
- 其中的 builtin_temp.n 进行了全局 import, 所以不需要进行 import 也可以访问其中的符号,入<如> errort/println/print 等都定义在该 temp 中
- 这里有几个特殊的地方,首先为什么我们不需要通过 libc_temp.sleep() 的方式访问 sleep 呢?在 c 语言中其实没有作用域的概念,所有的符号都是全局符号,所以继承到 anture ->nature 中
(https://nature-lang.org/zh-Hans/docs/digging-deeper/temp)