One-pass greedy-pattern-matching finite-state-machine code generation
AssigneeMicrosoft Corporation
InventorsChristopher W. Fraser, Todd A. Proebsting
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsChristopher W. Fraser, Todd A. Proebsting
Estimating the term…
A one-pass, greedy-pattern-matching, finite-state-machine code generator is disclosed. The code generator generates local code (such as processor-native code) from intermediate code (such as Java byte code). In one embodiment of the invention, a computer-implemented method for generating local code from intermediate code first includes receiving a current element of a post-fix-notated intermediate code. The method receives a current element of a postfix-notated intermediate code, and matches the current element to a base rule within a predetermined intermediate code-to-local code grammar. The method then selects and applies a matching base rule based on a predetermined criteria. A local code is then generated according to the matching base rule applied to the current element. A next element of the intermediate code is then advanced to as the current element. In another embodiment, the method matches the current element to a base rule, includes matching a most recent element to one or more chain rule(s) within the grammar and applies the chain rule(s) to the most recent element to enable the current element to match a given base rule. In still another embodiment, a code-generator generator is disclosed that constructs a code generator according to a machine specification.
A computer-implemented method for generating local code from intermediate code comprising:
A computerized system comprising:
A computerized device comprising:
A computer-readable medium having processor instructions stored thereon for execution by a processor to perform a method for generating local code from intermediate code comprising:
A computer-implemented method for generating local code from intermediate code comprising:
A computer-readable medium having processor instructions stored thereon for execution by a processor to perform a computer process for generating local code from intermediate code, the computer process comprising:
Dependencies are inferred from the claim text.