Abstract: Problems in many areas can be reduced to one of the formal-languages-constrained path problems. Conjunctive grammars are more expressive than context-free grammars and are used, for example, in static analysis to describe an interleaved matched-parentheses language, which is not context-free. Path querying with conjunctive grammars is known to be undecidable. There is an algorithm for path querying with linear conjunctive grammars which provides an over-approximation of the result, but there is no algorithm for arbitrary conjunctive grammars. We propose the first algorithm for path querying with arbitrary conjunctive grammars. The proposed algorithm is matrix-based and allows us to efficiently apply GPGPU (General-Purpose computing on Graphics Processing Units) computing techniques and other optimizations for matrix operations.

Original languageEnglish
Pages (from-to)357-364
Number of pages8
JournalProgramming and Computer Software
Volume45
Issue number7
DOIs
StatePublished - 1 Dec 2019

    Scopus subject areas

  • Software

    Research areas

  • conjunctive grammars, GPGPU, graphs, matrix multiplication, path querying, static analysis, transitive closure

ID: 50702212