|
用“Commercial Compiler Front End Products” Google之,得到以下信息:Commercial Compiler Front End ProductsCompiler front ends, consisting of at least a parser and in many cases symbol table and semantic analysis support are a lot of work to implement (the EDG front end, below, consists of almost 300K lines of source code and comments).
Over time there have been a number of companies that offer front end software. One of the most widely used is the Edison Design Group's C++ front end. This front end reads C++ and outputs ANSI C.
The Edison Design Group (EDG) has been in business for quite a while. However, many front end companies have come and gone. For example, Compass Design Automation sold a VHDL front end that has been used by several EDA companies. Compass was purchased by Avant!, which as far as I know has stopped selling the front end. Another VHDL front end was available from Leda (a French software company). However Leda has been purchased by Synopsys. Synopsys no longer seems to be selling the Leda VHDL front end (this is not a surprise, since Synopsys would be supplying potential competitors with an important component that could be used to build tools that compete with those sold by Synopsys.
Listed below is a partial list of front end companies (other than EDG, mentioned above):
- The Java Front End from Bear Products International
This front end is based on a parser generated with ANTLR. It reads Java source and class files and does full semantic analysis. The output of the front end is a decorated abstract syntax tree (AST) and a hierarchical symbol table (referenced from the AST). This is written by the author of these web pages. - C/C++ Front End and Parser from Semantic Designs Inc.
In a posting to comp.compilers, Ira Baxter describes this software as
Semantic Designs offers the DMS Reengineering Toolkit, with a robust C/C++ front end parser that handles preprocessor directives, automatically builds an AST retaining comments, literal formats, etc. can prettyprint the AST back to source form reproducing the comments/ literals, and can carry out pattern-directed transformations on the tree. (DMS also handles many other languages.)
我估计你的老师说的就是这个EDG公司吧:[size=13.8889px]http://www.edg.com/
[size=8.33333px]Edison Design Group is a corporation dedicated to developing and licensing compiler front ends. Currently, we offer front ends for C/C++, Java™ and Fortran 77
- We have high-quality products: our front ends have the features, reliability, and efficiency required in commercial compilers.
- We back our software with outstanding support: we fix bugs (promptly), add enhancements, track language standards, and offer advice on customization.
- Our licensing terms are reasonable. In particular, we allow binary sublicensing with no per-copy royalties.
- We are a very small company, with a narrow market focus. We intend to stay small and technical.
- We do front ends only: no back ends, no optimizers, no libraries.
- We do no end-user sales: all of our licensees get source code.
|
这有照片:[size=13.8889px]http://www.edg.com/index.php?location=profile_compback
貌似现在是5个人[size=13.8889px]
[ 本帖最后由 coredump 于 6-8-2010 13:44 编辑 ] |
|