其他语言

本类阅读TOP10

·基于Solaris 开发环境的整体构思
·使用AutoMake轻松生成Makefile
·BCB数据库图像保存技术
·GNU中的Makefile
·射频芯片nRF401天线设计的分析
·iframe 的自适应高度
·BCB之Socket通信
·软件企业如何实施CMM
·入门系列--OpenGL最简单的入门
·WIN95中日志钩子(JournalRecord Hook)的使用

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
卫生的宏的翻译方法

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

Semantics: An instance of `syntax-rules' produces a new macro transformer by specifying a sequence of hygienic rewrite rules. A use of a macro whose keyword is associated with a transformer specified by `syntax-rules' is matched against the patterns contained in the <syntax rule>s, beginning with the leftmost <syntax rule>. When a match is found, the macro use is transcribed hygienically according to the template.

语义:syntax-rules 的实例通过定义“ 卫生的” 改写规则序列, 生成一个新的宏转换器。关键字与 syntax-rules 定义的转换器相关联的宏的使用,将与 hsyntax rulei 中的模式相匹配。其匹配方法是,从最左边的hsyntax rulei 开始,当发现匹配时,宏的使用就被
“ 卫生地”依照模板转译。




相关文章

相关软件