首页 | 本学科首页   官方微博 | 高级检索  
     


A new parallel algorithm for parsing arithmetic infix expressions
Authors:Y. N. Srikant  Priti Shankar
Affiliation:

School of Automation, Indian Institute of Science, Bangalore 560 012, India

Abstract:A new parallel algorithm for transforming an arithmetic infix expression into a par se tree is presented. The technique is based on a result due to Fischer (1980) which enables the construction of the parse tree, by appropriately scanning the vector of precedence values associated with the elements of the expression. The algorithm presented here is suitable for execution on a shared memory model of an SIMD machine with no read/write conflicts permitted. It uses O(n) processors and has a time complexity of O(log2n) where n is the expression length. Parallel algorithms for generating code for an SIMD machine are also presented.
Keywords:Arithmetic infix expression   parse tree   SIMD computer   parallel parsing algorithm   parallel programming   parallel code generation
本文献已被 ScienceDirect 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号