Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported license
We propose timed context-free grammars (TCFGs) and show how parsers for such grammars can be developed using definite clause grammars (DCGs) coupled with constraints over reals (CLP(R)). Timed context-free grammars describe timed context-free languages (TCFLs). We next extend timed context-free grammars to timed context-free omega-grammars (omega-TCFGs for brevity) and incorporate co-inductive logic programming in DCGs to obtain parsers for them. Timed context-free omega-grammars describe timed context-free languages containing infinite-sized words, and are a generalization of timed omega-regular languages recognized by timed automata. We show a practical application of omega-TCFGs to the well-known generalized railroad crossing problem.
@InProceedings{saeedloei_et_al:LIPIcs.ICLP.2010.212,
author = {Saeedloei, Neda and Gupta, Gopal},
title = {{Timed Definite Clause Omega-Grammars}},
booktitle = {Technical Communications of the 26th International Conference on Logic Programming},
pages = {212--221},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-939897-17-0},
ISSN = {1868-8969},
year = {2010},
volume = {7},
editor = {Hermenegildo, Manuel and Schaub, Torsten},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ICLP.2010.212},
URN = {urn:nbn:de:0030-drops-25994},
doi = {10.4230/LIPIcs.ICLP.2010.212},
annote = {Keywords: Constraint Logic Programming over reals, Co-induction, Context-Free Grammars, Omega-Grammars}
}