There is not any standard shortcut to remove comments from a block, but it would not be hard to write a macro to do so.
没有将块注释取消的标准快捷键,但是写一个宏来完成这项功能并不难。
Now we just need a program to convert our macro into standard C. For this simple example, Perl is used because it can evaluate user code in a string, and its syntax is largely C-like.
现在我们只需要一个程序将这个宏转换成标准的 C 语言就可以了。 对于这个简单的例子来说,我们将使用 Perl 来实现这个程序,因为它可以对字符串中的用户代码进行评测,其语法也与 C 语言非常类似。
The Scheme standard defines a macro language specifically built to make it easier to make additions to the language.
Scheme标准定义了一种专门用来简化对其他语言进行扩展的宏语言。
应用推荐