Skip to main content

Showing 1–13 of 13 results for author: Reghizzi, S C

Searching in archive cs. Search in all archives.
.
  1. arXiv:2503.06763  [pdf, ps, other

    cs.DC

    A parallel parser for regular expressions

    Authors: Angelo Borsotti, Luca Breveglieri, Stefano Crespi Reghizzi, Angelo Morzenti

    Abstract: Regular expression (RE) matching is a very common functionality that scans a text to find occurrences of patterns specified by an RE; it includes the simpler function of RE recognition. Here we address RE parsing, which subsumes matching by providing not just the pattern positions in the text, but also the syntactic structure of each pattern occurrence, in the form of a tree representing how the R… ▽ More

    Submitted 9 March, 2025; originally announced March 2025.

  2. arXiv:2412.14975  [pdf, ps, other

    cs.DC

    Minimizing speculation overhead in a parallel recognizer for regular texts

    Authors: Angelo Borsotti, Luca Breveglieri, Stefano Crespi Reghizzi, Angelo Morzenti

    Abstract: Speculative data-parallel algorithms for language recognition have been widely experimented for various types of finite-state automata (FA), deterministic (DFA) and nondeterministic (NFA), often derived from regular expressions (RE). Such an algorithm cuts the input string into chunks, independently recognizes each chunk in parallel by means of identical FAs, and at last joins the chunk results an… ▽ More

    Submitted 10 January, 2025; v1 submitted 19 December, 2024; originally announced December 2024.

  3. arXiv:2307.16522  [pdf, ps, other

    cs.FL

    Two-dimensional Dyck words

    Authors: Stefano Crespi Reghizzi, Antonio Restivo, Pierluigi San Pietro

    Abstract: We propose different ways of lifting the notion of Dyck language from words to 2-dimensional (2D) pictures, by means of new definitions of increasing comprehensiveness. Two of the proposals are based on alternative definitions of a Dyck language, which are equivalent over words but not on pictures. First, the property that any two pairs of matching parentheses are well-nested or disjoint is rephra… ▽ More

    Submitted 21 September, 2023; v1 submitted 31 July, 2023; originally announced July 2023.

  4. Aperiodicity, Star-freeness, and First-order Logic Definability of Operator Precedence Languages

    Authors: Dino Mandrioli, Matteo Pradella, Stefano Crespi Reghizzi

    Abstract: A classic result in formal language theory is the equivalence among non-counting, or aperiodic, regular languages, and languages defined through star-free regular expressions, or first-order logic. Past attempts to extend this result beyond the realm of regular languages have met with difficulties: for instance it is known that star-free tree languages may violate the non-counting property and the… ▽ More

    Submitted 21 November, 2023; v1 submitted 1 June, 2020; originally announced June 2020.

    Journal ref: Logical Methods in Computer Science, Volume 19, Issue 4 (November 22, 2023) lmcs:9684

  5. arXiv:1806.06562  [pdf, ps, other

    cs.FL

    Deque languages, automata and planar graphs

    Authors: Stefano Crespi Reghizzi, Pierluigi San Pietro

    Abstract: The memory of a deque (double ended queue) automaton is more general than a queue or two stacks; to avoid overgeneralization, we consider quasi-real-time operation. Normal forms of such automata are given. Deque languages form an AFL but not a full one. We define the characteristic deque language, CDL, which combines Dyck and AntiDyck (or FIFO) languages, and homomorphically characterizes the dequ… ▽ More

    Submitted 18 June, 2018; originally announced June 2018.

  6. arXiv:1805.04003  [pdf, ps, other

    cs.FL

    Non-erasing Chomsky-Sch{ü}tzenberger theorem with grammar-independent alphabet

    Authors: Stefano Crespi Reghizzi, Pierluigi San Pietro

    Abstract: The famous theorem by Chomsky and Schützenberger (CST) says that every context-free language $L$ over an alphabet $Σ$ is representable as $h(D \cap R)$, where $D$ is a Dyck language over a set $Ω$ of brackets, $R$ is a local language and $h$ is an alphabetic homomorphism that erases unboundedly many symbols. Berstel found that the number of erasures can be linearly limited if the grammar is in Gre… ▽ More

    Submitted 10 May, 2018; originally announced May 2018.

    Comments: 27 pages. Early versions of parts of this work have been presented at the LATA 2016 Conf. and at the Conf. dedicated to the scientific legacy of M.P. Schützenberger, 2017

    MSC Class: FL ACM Class: F.1.1; F.1.4

  7. Higher-Order Operator Precedence Languages

    Authors: Stefano Crespi Reghizzi, Matteo Pradella

    Abstract: Floyd's Operator Precedence (OP) languages are a deterministic context-free family having many desirable properties. They are locally and parallely parsable, and languages having a compatible structure are closed under Boolean operations, concatenation and star; they properly include the family of Visibly Pushdown (or Input Driven) languages. OP languages are based on three relations between any t… ▽ More

    Submitted 21 August, 2017; v1 submitted 25 May, 2017; originally announced May 2017.

    Comments: In Proceedings AFL 2017, arXiv:1708.06226

    Journal ref: EPTCS 252, 2017, pp. 86-100

  8. Commutative Languages and their Composition by Consensual Methods

    Authors: Stefano Crespi Reghizzi, Pierluigi San Pietro

    Abstract: Commutative languages with the semilinear property (SLIP) can be naturally recognized by real-time NLOG-SPACE multi-counter machines. We show that unions and concatenations of such languages can be similarly recognized, relying on -- and further developing, our recent results on the family of consensually regular (CREG) languages. A CREG language is defined by a regular language on the alphabe… ▽ More

    Submitted 21 May, 2014; originally announced May 2014.

    Comments: In Proceedings AFL 2014, arXiv:1405.5272

    Journal ref: EPTCS 151, 2014, pp. 216-230

  9. arXiv:1309.7584  [pdf, ps, other

    cs.FL cs.PL

    Parsing methods streamlined

    Authors: Luca Breveglieri, Stefano Crespi Reghizzi, Angelo Morzenti

    Abstract: This paper has the goals (1) of unifying top-down parsing with shift-reduce parsing to yield a single simple and consistent framework, and (2) of producing provably correct parsing methods, deterministic as well as tabular ones, for extended context-free grammars (EBNF) represented as state-transition networks. Departing from the traditional way of presenting as independent algorithms the determin… ▽ More

    Submitted 29 September, 2013; originally announced September 2013.

    Comments: 64 pages

  10. From Regular to Strictly Locally Testable Languages

    Authors: Stefano Crespi Reghizzi, Pierluigi San Pietro

    Abstract: A classical result (often credited to Y. Medvedev) states that every language recognized by a finite automaton is the homomorphic image of a local language, over a much larger so-called local alphabet, namely the alphabet of the edges of the transition graph. Local languages are characterized by the value k=2 of the sliding window width in the McNaughton and Papert's infinite hierarchy of stri… ▽ More

    Submitted 17 August, 2011; originally announced August 2011.

    Comments: In Proceedings WORDS 2011, arXiv:1108.3412

    ACM Class: F.4.3; G.2.1

    Journal ref: EPTCS 63, 2011, pp. 103-111

  11. arXiv:0910.2829  [pdf, ps, other

    cs.FL

    A unifying approach to picture grammars

    Authors: Matteo Pradella, Alessandra Cherubini, Stefano Crespi Reghizzi

    Abstract: Several old and recent classes of picture grammars, that variously extend context-free string grammars in two dimensions, are based on rules that rewrite arrays of pixels. Such grammars can be unified and extended using a tiling based approach, whereby the right part of a rule is formalized by means of a finite set of permitted tiles. We focus on a simple type of tiling,named regional, and define… ▽ More

    Submitted 8 January, 2011; v1 submitted 15 October, 2009; originally announced October 2009.

  12. arXiv:0907.2130  [pdf, ps, other

    cs.FL

    Algebraic properties of structured context-free languages: old approaches and novel developments

    Authors: Stefano Crespi Reghizzi, Dino Mandrioli

    Abstract: The historical research line on the algebraic properties of structured CF languages initiated by McNaughton's Parenthesis Languages has recently attracted much renewed interest with the Balanced Languages, the Visibly Pushdown Automata languages (VPDA), the Synchronized Languages, and the Height-deterministic ones. Such families preserve to a varying degree the basic algebraic properties of Regu… ▽ More

    Submitted 13 July, 2009; originally announced July 2009.

    Comments: Extended version of paper presented at WORDS2009, Salerno,Italy, September 2009

  13. arXiv:0807.3845  [pdf, ps, other

    cs.CL cs.CC cs.LO

    Formal semantics of language and the Richard-Berry paradox

    Authors: Stefano Crespi Reghizzi

    Abstract: The classical logical antinomy known as Richard-Berry paradox is combined with plausible assumptions about the size i.e. the descriptional complexity of Turing machines formalizing certain sentences, to show that formalization of language leads to contradiction.

    Submitted 24 July, 2008; originally announced July 2008.