...
首页> 外文期刊>Software Development >It's Not Metaprogramming
【24h】

It's Not Metaprogramming

机译:这不是元编程

获取原文
获取原文并翻译 | 示例
           

摘要

Every program has a subject domain. In a shipping system, that domain might involve customers, orders, prices, inventory, shippers and so on. In a medical office, it would be patients, records and procedures. For some special programs, however, the domain is programs. These special programs are called metaprograms, and the language a metaprogram is written in is called the metalanguage. The most familiar metaprograms are compilers, virtual machines, IDEs and the like; these are Commonly written in C, C++, Java or C#. A Perl script to check for naming conventions in your Java code is also a metaprogram, with Perl as the metalanguage. Using grep to look for calls to a certain procedure is also metaprogramming, with grep regular expressions as the metalanguage.
机译:每个程序都有一个主题域。在运输系统中,该域可能涉及客户,订单,价格,库存,发货人等。在医疗办公室,它将是患者,记录和程序。但是,对于某些特殊程序,域是程序。这些特殊程序称为元程序,而用元程序编写的语言称为元语言。最熟悉的元程序是编译器,虚拟机,IDE等。这些通常用C,C ++,Java或C#编写。用于检查Java代码中的命名约定的Perl脚本也是一个元程序,以Perl作为元语言。使用grep查找对特定过程的调用也是元编程,其中grep正则表达式为元语言。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号