Compiler Framework for Building Java Language Extensions
Yu Zhang
Abstract
Yu Zhang
Abstract
Polyglot is a highly extensible compiler frontend framework,while avoiding code duplication.Users may extend the framework to define any necessary changes on abstract syntax tree and semantic analysis for implementing language extensions.In order to direct users to work with Polyglot fleetly,the main flow and class hierarchy of Polyglot are summarized,and the methodologies of the scalable extensibility are anatomized,in which the delegation,visitors and abstract factories are employed.And the use steps of Polyglot and the related application are stated in a nut shell.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Polyglot is a highly extensible compiler frontend framework,while avoiding code duplication.Users may extend the framework to define any necessary changes on abstract syntax tree and semantic analysis for implementing language extensions.In order to direct users to work with Polyglot fleetly,the main flow and class hierarchy of Polyglot are summarized,and the methodologies of the scalable extensibility are anatomized,in which the delegation,visitors and abstract factories are employed.And the use steps of Polyglot and the related application are stated in a nut shell.
Key concepts: Polyglot, Computer science, Programming language, Abstract syntax tree, Class hierarchy, Compiler, Java, Syntax