2 research outputs found

    OVERLAPPING OPTIMIZATION WITH PARSING THROUGH METAGRAMMARS

    Get PDF
    ABSTRACT This paper describes techniques for improving the performance of meta framework developed by combining C++ and Java language segments through reducing the number of bytecodes generated. Augmented versions of existing languages can be developed by combining good properties of those languages. It increases the flexibility of programmers in using language constructs of those languages. The framework identifies and parses source code with C++ and Java language statements using metagrammar developed and create a unified AST for the hybrid source code. Bytecodes are generated for AST and interpreted. The performance of Bytecodes can be improved through optimization techniques associated with metagrammars, like constant propagation which identifies constant values for variables and propagate it to the place where the variable occurs and replace it with corresponding value. Function inlining and exception optimization greatly improves the execution time performance of Bytecodes. Optimization through metagrammars eliminates rigorous analysis of bytecodes to identify hot spots and optimize them
    corecore