At present time, the package includes:
- Language parsers
HPF language parser: to convert HPF source code to the IR, including a semantics checking on all constrains in language definition.
Java language parser: to convert java source code to the IR.
- Language tools for displaying the IR
This includes unparsing the IR back to source code (mainly HPF 1.0, since the package is originally designed to help building HPF compiler.) and dumping IR in plain text and HTML format.
- C++ Class
corresponding to language component.
- Testsuite
including an extensive one on HPF language parser. (The HPF parser has passed a "first order" exhaustive syntax test, all example programs from "Migrating to Fortran 90" and "HPF handbook", and real application programs from NAG.)
We are currently working to improve the support for Java language.
Physically, the package is organized in the following directory structure.
frontEnd-x.xx/ INSTALL README Makefile configure configure.in acconfig.h config/ doc/ bin/ (if installed defaultly) dumpdep hpf2dep hpfsc java2dep unparse exampleUse src/ Makefile Makefile.in basicop/ xsageop/ hpf2dep/ hpfsc/ java2dep tools/ Makefile Makefile.in dump/ unparse/ include/ include/ (if installed defaultly) testsuite/ lib/ (if installed defaultly) libbasic.a libxsage.a libhpf.slIt has been successfully installed on the following platform.
- IBM RS/6000, AIX 3.2.5, 4.1.4, cc/xlC, gcc 2.7.2, lex/yacc, flex 2.7.2/bison
- SUN OS 4.1.1,4.1.4, Solaris 2.4, 2.5, gcc 2.7.2, lex, bison
- DEC Alpha OSF/1 V3.0, cc/cxx, lex/yacc, bison
- HP/9000 HP-UX, gcc 2.7, lex/yacc
- PC LINUX 1.2.8, gcc 2.7.2, flex 2.7.2/bison
- SGI INDY, IRIX 5.3, gcc 2.7.2, lex/yacc, bison
Email contact: zgs@npac.syr.edu