July 13th Monday (七月 十一日 月曜日)

本文探讨了在宏展开过程中不同库之间的依赖关系及其在编译与运行时的不同需求。解释了如何区分宏展开阶段与运行阶段对于库的需求,并讨论了这两种阶段所需信息的区别。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  Expanding a library may require run-time information from another library.  For example, if a macro transformer
calls a procedure from library A, then the library A must be instantiated before expanding any use of the macro in
library B. Library A may not be needed when library B is eventually run as part of a program, or it may be needed for
run time of library B, too.  The library mechanism distinguishes these times by phases.

  Every library can be characterized by expand-time information (minimally, its imported libraries, a list of the exported
keywords, a list of the exported variables, and code to evalute the transformer expressions) and run-time information
(minimally, code to evaluate the variable definition right-hand-side expressions, and code to evaluate the body expression).
The expand-time information must be available to expand references to any exported binding, and the run-time information
must be available to evaluate references to any exported variable binding.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值