Design of Parallel Algorithm on Autogeneration of LL(1) Analytical Table for the Shared Memory Multiprocessors System
暂无分享,去创建一个
This article describes a parallel process method to autogenerate LL(1) analytical table on multiprocessor computers, and it also discusses the designing thoughts and executing tactics in this parallel algorithm, just in order to improve the efficiency of compiler. Compiler is an important system software, and syntax analysis is the first step of compiler. In general, there are two kinds of methods on syntax analysis such as top-down approach and bottom-up approach. In this paper the author analyzes and studies the implementation method on top-down syntax analysis algorithm, and discovers one of the performance bottleneck on LL(1) syntax analysis is the number of non-terminals and terminals. So the author puts forward the thoughts of using parallel threads to solve the issues on plenty of nonterminals. That is , with the help of mechanism of intercommunication among the threads, LL(1) analytical table is autogenerated on multithread mode.
[1] Zhao Rong-cai. Linear Computation and Data Decomposition Algorithm in Parallel Compilation , 2006 .
[2] Wu Rong,et al. Run-time data-flow analysis , 2002 .
[3] Pla Information. Compiler Optimization Algorithm for Parallel Program on Shared Memory Machine , 2006 .
[4] Liu San-yang. Design of Parallel Algorithm on FIRST and FOLLOW Set , 2004 .
[5] Binyu Zang,et al. Run-time data-flow analysis , 2008, Journal of Computer Science and Technology.