2008 August 6th Wednesday (八月 六日 水曜日)

本文探讨了通过语法扩展器处理抽象语法的过程。当遇到抽象语法时,扩展器会调用相应的转换器进行展开,然后对返回的形式重复展开过程。对于核心形式,它递归地处理表达式或定义上下文中的子形式,并在扩展后重构形式。在展开过程中维护标识符绑定信息,以确保变量和关键字的词法作用域。

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

  I need a good sleep.

  Macro uses by a syntax expander.  The set of core forms is implementation-dependent, as is the representation of
these forms in the expander’soutput.  If the expander encounters a syntactic abstraction, it invokes the associated
transformer to expand the syntactic abstraction, then repeats the expansion process for the form returned by the
transformer.  If the expander encounters a core form, it recursively processes its subforms that are in expression or
definition context, if any, and reconstructs the form from the expanded subforms.  Information about identifier bind-
ings is maintained during expansion to enforce lexical scoping for variables and keywords.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值