You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
keywords = {Formal language theory, Formal grammars, Hardest formal languages, Grammars with context operators, Inverse homomorphisms, Finite transducers},
1806
1806
abstract = {In 1973, Greibach (“The hardest context-free language”, SIAM J. Comp., 1973) constructed a context-free language L0 with the property that every context-free language can be reduced to L0 by a homomorphism, thus representing it as an inverse homomorphic image h−1(L0). In this paper, a similar characterization is established for a family of grammars equipped with operators for referring to the left context of any substring, recently defined by Barash and Okhotin (“An extension of context-free grammars with one-sided context specifications”, Inform. Comput., 2014). An essential step of the argument is a new normal form for grammars with context operators, in which every nonterminal symbol defines only strings of odd length in left contexts of even length: the even-odd normal form. The characterization is completed by showing that the language family defined by grammars with context operators is closed under inverse homomorphisms; actually, it is closed under injective nondeterministic finite transductions.}
1807
+
}
1808
+
1809
+
@article{markov1954theory,
1810
+
title={The theory of algorithms},
1811
+
author={Markov, Andrei Andreevich},
1812
+
journal={Trudy Matematicheskogo Instituta Imeni VA Steklova},
1813
+
volume={42},
1814
+
pages={3--375},
1815
+
year={1954},
1816
+
publisher={Russian Academy of Sciences, Steklov Mathematical Institute of Russian~…}
abstract = {From the Publisher:Formal language theory was fist developed in the mid 1950's in an attempt to develop theories of natural language acquisition. It was soon realized that this theory (particularly the context-free portion) was quite relevant to the artificial languages that had originated in computer science. Since those days, the theory of formal languages has been developed extensively, and has several discernible trends, which include applications to the syntactic analysis of programming languages, program schemes, models of biological systems, and relationships with natural languages.}
1828
+
}
1829
+
1830
+
@book{hopcroft2001introduction,
1831
+
title={Introduction to automata theory, languages, and computation},
1832
+
author={Hopcroft, John E and Motwani, Rajeev and Ullman, Jeffrey D},
1833
+
journal={Acm Sigact News},
1834
+
volume={32},
1835
+
number={1},
1836
+
pages={60--65},
1837
+
year={2001},
1838
+
publisher={ACM New York, NY, USA}
1839
+
}
1840
+
1841
+
@article{10.1145/3591472,
1842
+
author = {Jia, Xiaodong and Kumar, Ashish and Tan, Gang},
1843
+
title = {A Derivative-Based Parser Generator for Visibly Pushdown Grammars},
1844
+
year = {2023},
1845
+
issue_date = {June 2023},
1846
+
publisher = {Association for Computing Machinery},
1847
+
address = {New York, NY, USA},
1848
+
volume = {45},
1849
+
number = {2},
1850
+
issn = {0164-0925},
1851
+
url = {https://doi.org/10.1145/3591472},
1852
+
doi = {10.1145/3591472},
1853
+
abstract = {In this article, we present a derivative-based, functional recognizer and parser generator for visibly pushdown grammars. The generated parser accepts ambiguous grammars and produces a parse forest containing all valid parse trees for an input string in linear time. Each parse tree in the forest can then be extracted also in linear time. Besides the parser generator, to allow more flexible forms of the visibly pushdown grammars, we also present a translator that converts a tagged CFG to a visibly pushdown grammar in a sound way, and the parse trees of the tagged CFG are further produced by running the semantic actions embedded in the parse trees of the translated visibly pushdown grammar. The performance of the parser is compared with popular parsing tools, including ANTLR, GNU Bison, and other popular hand-crafted parsers. The correctness and the time complexity of the core parsing algorithm are formally verified in the proof assistant Coq.},
author = {Brachth\"{a}user, Jonathan Immanuel and Rendel, Tillmann and Ostermann, Klaus},
1863
+
title = {Parsing with First-Class Derivatives},
1864
+
year = {2016},
1865
+
isbn = {9781450344449},
1866
+
publisher = {Association for Computing Machinery},
1867
+
address = {New York, NY, USA},
1868
+
url = {https://doi.org/10.1145/2983990.2984026},
1869
+
doi = {10.1145/2983990.2984026},
1870
+
abstract = {Brzozowski derivatives, well known in the context of regular expressions, have recently been rediscovered to give a simplified explanation to parsers of context-free languages. We add derivatives as a novel first-class feature to a standard parser combinator language. First-class derivatives enable an inversion of the control flow, allowing to implement modular parsers for languages that previously required separate pre-processing steps or cross-cutting modifications of the parsers. We show that our framework offers new opportunities for reuse and supports a modular definition of interesting use cases of layout-sensitive parsing.},
1871
+
booktitle = {Proceedings of the 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications},
author = {Brachth\"{a}user, Jonathan Immanuel and Rendel, Tillmann and Ostermann, Klaus},
1881
+
title = {Parsing with First-Class Derivatives},
1882
+
year = {2016},
1883
+
issue_date = {October 2016},
1884
+
publisher = {Association for Computing Machinery},
1885
+
address = {New York, NY, USA},
1886
+
volume = {51},
1887
+
number = {10},
1888
+
issn = {0362-1340},
1889
+
url = {https://doi.org/10.1145/3022671.2984026},
1890
+
doi = {10.1145/3022671.2984026},
1891
+
abstract = {Brzozowski derivatives, well known in the context of regular expressions, have recently been rediscovered to give a simplified explanation to parsers of context-free languages. We add derivatives as a novel first-class feature to a standard parser combinator language. First-class derivatives enable an inversion of the control flow, allowing to implement modular parsers for languages that previously required separate pre-processing steps or cross-cutting modifications of the parsers. We show that our framework offers new opportunities for reuse and supports a modular definition of interesting use cases of layout-sensitive parsing.},
@article{caron_champarnaud_mignot_2014, title={A general framework for the derivation of regular expressions}, volume={48}, DOI={10.1051/ita/2014010}, number={3}, journal={RAIRO - Theoretical Informatics and Applications}, publisher={EDP Sciences}, author={Caron, Pascal and Champarnaud, Jean-Marc and Mignot, Ludovic}, year={2014}, pages={281–305}}
1900
+
1901
+
@article{10.1145/2034574.2034801,
1902
+
author = {Might, Matthew and Darais, David and Spiewak, Daniel},
1903
+
title = {Parsing with Derivatives: A Functional Pearl},
1904
+
year = {2011},
1905
+
issue_date = {September 2011},
1906
+
publisher = {Association for Computing Machinery},
1907
+
address = {New York, NY, USA},
1908
+
volume = {46},
1909
+
number = {9},
1910
+
issn = {0362-1340},
1911
+
url = {https://doi.org/10.1145/2034574.2034801},
1912
+
doi = {10.1145/2034574.2034801},
1913
+
abstract = {We present a functional approach to parsing unrestricted context-free grammars based on Brzozowski's derivative of regular expressions. If we consider context-free grammars as recursive regular expressions, Brzozowski's equational theory extends without modification to context-free grammars (and it generalizes to parser combinators). The supporting actors in this story are three concepts familiar to functional programmers - laziness, memoization and fixed points; these allow Brzozowski's original equations to be transliterated into purely functional code in about 30 lines spread over three functions.Yet, this almost impossibly brief implementation has a drawback: its performance is sour - in both theory and practice. The culprit? Each derivative can double the size of a grammar, and with it, the cost of the next derivative.Fortunately, much of the new structure inflicted by the derivative is either dead on arrival, or it dies after the very next derivative. To eliminate it, we once again exploit laziness and memoization to transliterate an equational theory that prunes such debris into working code. Thanks to this compaction, parsing times become reasonable in practice.We equip the functional programmer with two equational theories that, when combined, make for an abbreviated understanding and implementation of a system for parsing context-free languages.},
author = {Might, Matthew and Darais, David and Spiewak, Daniel},
1923
+
title = {Parsing with Derivatives: A Functional Pearl},
1924
+
year = {2011},
1925
+
isbn = {9781450308656},
1926
+
publisher = {Association for Computing Machinery},
1927
+
address = {New York, NY, USA},
1928
+
url = {https://doi.org/10.1145/2034773.2034801},
1929
+
doi = {10.1145/2034773.2034801},
1930
+
abstract = {We present a functional approach to parsing unrestricted context-free grammars based on Brzozowski's derivative of regular expressions. If we consider context-free grammars as recursive regular expressions, Brzozowski's equational theory extends without modification to context-free grammars (and it generalizes to parser combinators). The supporting actors in this story are three concepts familiar to functional programmers - laziness, memoization and fixed points; these allow Brzozowski's original equations to be transliterated into purely functional code in about 30 lines spread over three functions.Yet, this almost impossibly brief implementation has a drawback: its performance is sour - in both theory and practice. The culprit? Each derivative can double the size of a grammar, and with it, the cost of the next derivative.Fortunately, much of the new structure inflicted by the derivative is either dead on arrival, or it dies after the very next derivative. To eliminate it, we once again exploit laziness and memoization to transliterate an equational theory that prunes such debris into working code. Thanks to this compaction, parsing times become reasonable in practice.We equip the functional programmer with two equational theories that, when combined, make for an abbreviated understanding and implementation of a system for parsing context-free languages.},
1931
+
booktitle = {Proceedings of the 16th ACM SIGPLAN International Conference on Functional Programming},
abstract = {Regular-expression derivatives are an old, but elegant, technique for compiling regular expressions to deterministic finite-state machines. It easily supports extending the regular-expression operators with boolean operations, such as intersection and complement. Unfortunately, this technique has been lost in the sands of time and few computer scientists are aware of it. In this paper, we reexamine regular-expression derivatives and report on our experiences in the context of two different functional-language implementations. The basic implementation is simple and we show how to extend it to handle large character sets (e.g., Unicode). We also show that the derivatives approach leads to smaller state machines than the traditional algorithm given by McNaughton and Yamada.},
1952
+
journal = {J. Funct. Program.},
1953
+
month = {mar},
1954
+
pages = {173–190},
1955
+
numpages = {18}
1956
+
}
1957
+
1958
+
@inproceedings{10.1145/2949689.2949711,
1959
+
author = {Nol\'{e}, Maurizio and Sartiani, Carlo},
1960
+
title = {Regular Path Queries on Massive Graphs},
1961
+
year = {2016},
1962
+
isbn = {9781450342155},
1963
+
publisher = {Association for Computing Machinery},
1964
+
address = {New York, NY, USA},
1965
+
url = {https://doi.org/10.1145/2949689.2949711},
1966
+
doi = {10.1145/2949689.2949711},
1967
+
abstract = {Regular Path Queries (RPQs) represent a powerful tool for querying graph databases and are of particular interest, because they form the building blocks of other query languages, and because they can be used in many theoretical or practical contexts for different purposes.In this paper we present a novel system for processing regular path queries on massive data graphs. As confirmed by an extensive experimental evaluation, our system scales linearly with the number of vertices and/or edges, and it can efficiently query graphs up to a billion vertices and 100 billion edges.},
1968
+
booktitle = {Proceedings of the 28th International Conference on Scientific and Statistical Database Management},
0 commit comments