| | SLO | ENG | Cookies and privacy

Bigger font | Smaller font

Show document Help

Title:RNGSGLR: generalization of the context-aware scanning architecture for all character-level context-free languages
Authors:ID Leber, Žiga (Author)
ID Črepinšek, Matej (Author)
ID Mernik, Marjan (Author)
ID Kosar, Tomaž (Author)
Files:.pdf mathematics-10-02436-v2.pdf (1,09 MB)
MD5: 02099982F56EFFCF04BBDE73CF756A82
 
URL https://www.mdpi.com/2227-7390/10/14/2436
 
Language:English
Work type:Article
Typology:1.01 - Original Scientific Article
Organization:FERI - Faculty of Electrical Engineering and Computer Science
Abstract:The limitations of traditional parsing architecture are well known. Even when paired with parsing methods that accept all context-free grammars (CFGs), the resulting combination for any given CFG accepts only a limited subset of corresponding character-level context-free languages (CFL). We present a novel scanner-based architecture that for any given CFG accepts all corresponding character-level CFLs. It can directly parse all possible specifications consisting of a grammar and regular definitions. The architecture is based on right-nulled generalized LR (RNGLR) parsing and is a generalization of the context-aware scanning architecture. Our architecture does not require any disambiguation rules to resolve lexical conflicts, it conceptually has an unbounded parser and scanner lookahead and it is streaming. The added robustness and flexibility allow for easier grammar development and modification.
Keywords:context-aware scanning, pseudo-scannerless parsing, scanner conflict resolution, generalized LR (GLR), right-nulled GLR (RNGLR), scannerless GLR (SGLR)
Publication status:Published
Publication version:Version of Record
Submitted for review:19.05.2022
Article acceptance date:04.07.2022
Publication date:13.07.2022
Publisher:MDPI AG
Year of publishing:2022
Number of pages:48 str.
Numbering:Vol. 10, no. 14
PID:20.500.12556/DKUM-92314 New window
UDC:004.43
ISSN on article:2227-7390
COBISS.SI-ID:115277827 New window
DOI:10.3390/math10142436 New window
Copyright:© 2022 by the authors
Publication date in DKUM:28.03.2025
Views:200
Downloads:19
Metadata:XML DC-XML DC-RDF
Categories:Misc.
:
Copy citation
  
Average score:(0 votes)
Your score:Voting is allowed only for logged in users.
Share:Bookmark and Share



Hover the mouse pointer over a document title to show the abstract or click on the title to get all document metadata.

Record is a part of a journal

Title:Mathematics
Shortened title:Mathematics
Publisher:MDPI AG
ISSN:2227-7390
COBISS.SI-ID:523267865 New window

Document is financed by a project

Funder:ARIS - Slovenian Research and Innovation Agency
Project number:P2-0041-2020
Name:Računalniški sistemi, metodologije in inteligentne storitve

Licences

License:CC BY 4.0, Creative Commons Attribution 4.0 International
Link:http://creativecommons.org/licenses/by/4.0/
Description:This is the standard Creative Commons license that gives others maximum freedom to do what they want with the work as long as they credit the author.

Secondary language

Language:Slovenian
Keywords:programski jeziki, resolucija, računalniška arhitektura


Comments

Leave comment

You must log in to leave a comment.

Comments (0)
0 - 0 / 0
 
There are no comments!

Back
Logos of partners University of Maribor University of Ljubljana University of Primorska University of Nova Gorica