VSL 2014: VIENNA SUMMER OF LOGIC 2014

Automatic Evaluation of Context-Free Grammars (System Description)

Authors: Carles Creus and Guillem Godoy

PapersPapers with AbstractsPrefaceAuthor IndexKeyword Index

Paper Information

Title:Automatic Evaluation of Context-Free Grammars (System Description)
Authors:Carles Creus and Guillem Godoy
Proceedings:RTA-TLCA 2014 LNCS Proceedings
Editor: Gilles Dowek
Keywords:grammars, equivalence, hashing, SAT, automata
Abstract:

ABSTRACT. We implement an online judge for context-free grammars. Our system contains a list of problems describing formal languages, and asking for grammars generating them. A submitted proposal grammar receives a verdict of acceptance or rejection depending on whether the judge determines that it is equivalent to the reference solution grammar provided by the problem setter. Since equivalence of context-free grammars is an undecidable problem, we consider a maximum length L and only test equivalence of the generated languages up to words of length L. This length restriction is very often sufficient for the well-meant submissions. Since this restricted problem is still NP-complete, we design and implement methods based on hashing, SAT, and automata that perform well in practice.

Pages:10
Talk:Jul 14 12:45
Paper:
Disclaimer | Powered by EasyChair Smart Program