Back to results
US 2010/0146494 A1Published application
Compiler generator
AssigneeInternational Business Machines Corporation
InventorsWolfgang Gellerich, Andreas Krebbel
Life of this patent
Estimating the term…
Abstract
A system including an input compiler that receives a unified input description containing syntax rules for both regular and context-free expressions and interspersed code, the first compiler configured to translate the unified input description into a common internal representation is disclosed. The system also includes a regular expression checker, a context-free expression checker, a code checker and a second compiler coupled to the code checker.
Claims13
A system comprising:
- a scanning and parsing module that receives a unified input description containing syntax rules for both regular and context-free expressions and interspersed code, the first compiler scanning and parsing module configured to translate the unified input description into a common internal representation;
- a regular expression checker coupled to the input compiler scanning and parsing module configured to check regular expressions in the common internal representation;
- a context-free expression checker coupled to the regular expression checker configured to check context-free expressions in the common representation;
- a code checker coupled to the context-free expression checker configured to check the interspersed code;
- and
- a code optimizer and code generator coupled to the code checker.
3 more elements
A method comprising:
- receiving a unified input description containing syntax rules for both regular and context-free expressions and interspersed code;
- generating a common internal representation from the unified input description;
- checking regular expressions in the common internal representation;
- checking context-free expressions in the common representation;
- checking the interspersed code;
- and
- outputting an executable, based on the unified input description, the executable operating as a compiler.
4 more elements
A system comprising:
- a scanning and parsing module that receives a unified input description containing syntax rules for both regular and context-free expressions and interspersed code, the compiler scanning and parsing module configured to translate the unified input description into a common internal representation;
- an expression checker coupled to the scanning and parsing module configured to check expressions in the common internal representation;
- a code checker coupled to the expression checker configured to check the interspersed code;
- and
- a code optimizer and code generator coupled to the code checker.
2 more elements
Dependencies are inferred from the claim text.