Whale Calf, a Parser Generator for Conjunctive Grammars
Whale Calf is a parser generator that uses conjunctive grammars, a generalization of context-free grammars with an explicit intersection operation, as the formalism of specifying the language. All existing parsing algorithms for conjunctive grammars are implemented — namely, the tabular algorithm for grammars in the binary normal form, the tabular algorithm for grammars in the linear normal form, the tabular algorithm for arbitrary grammars, the conjunctive LL, the conjunctive LR and the algorithm based on simulation of the automata equivalent to linear conjunctive grammars. The generated C++ programs can determine the membership of strings in the language and, if needed, create parse trees of these strings.
Unable to display preview. Download preview PDF.
- 1.Graphviz-open source graph drawing software, available at http://www.research.att.com/sw/tools/graphviz/.
- 4.A. Okhotin, “A recognition and parsing algorithm for arbitrary conjunctive grammars”, to appear in Theoretical Computer Science.Google Scholar
- 6.A. Okhotin, “On a new family of automata”, Technical Report 2002-456, Department of Computing and Information Science of Queen’s University, Kingston, Ontario, Canada.Google Scholar
- 7.A. Okhotin, “Efficient automaton-based recognition for linear conjunctive languages”, this volume.Google Scholar