Whale calf, a parser generator for conjunctive grammars

  • Authors:
  • Alexander Okhotin

  • Affiliations:
  • Department of Computing and Information Science, Queen's University, Kingston, Ontario, Canada

  • Venue:
  • CIAA'02 Proceedings of the 7th international conference on Implementation and application of automata
  • Year:
  • 2002

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.