Please use this identifier to cite or link to this item:
https://hdl.handle.net/20.500.11851/6887
Full metadata record
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Adams, Michael D. | - |
dc.contributor.author | Agacan, Ömer S. | - |
dc.date.accessioned | 2021-09-11T15:44:05Z | - |
dc.date.available | 2021-09-11T15:44:05Z | - |
dc.date.issued | 2014 | en_US |
dc.identifier.issn | 0362-1340 | - |
dc.identifier.issn | 1558-1160 | - |
dc.identifier.uri | https://doi.org/10.1145/2775050.2633369 | - |
dc.identifier.uri | https://hdl.handle.net/20.500.11851/6887 | - |
dc.description.abstract | Several popular languages including Haskell and Python use the indentation and layout of code as an essential part of their syntax. In the past, implementations of these languages used ad hoc techniques to implement layout. Recent work has shown that a simple extension to context-free grammars can replace these ad hoc techniques and provide both formal foundations and efficient parsing algorithms for indentation sensitivity. However, that previous work is limited to bottom-up, LR(k) parsing, and many combinator-based parsing frameworks including Parsec use top-down algorithms that are outside its scope. This paper remedies this by showing how to add indentation sensitivity to parsing frameworks like Parsec. It explores both the formal semantics of and efficient algorithms for indentation sensitivity. It derives a Parsec-based library for indentation-sensitive parsing and presents benchmarks on a real-world language that show its efficiency and practicality. | en_US |
dc.language.iso | en | en_US |
dc.publisher | Assoc Computing Machinery | en_US |
dc.relation.ispartof | Acm Sigplan Notices | en_US |
dc.rights | info:eu-repo/semantics/closedAccess | en_US |
dc.subject | Parsing | en_US |
dc.subject | Parsec | en_US |
dc.subject | Indentation sensitivity | en_US |
dc.subject | Layout | en_US |
dc.subject | Offside rule | en_US |
dc.title | Indentation-Sensitive Parsing for Parsec (Conference Object) | en_US |
dc.type | Conference Object | en_US |
dc.department | Faculties, Faculty of Engineering, Department of Computer Engineering | en_US |
dc.department | Fakülteler, Mühendislik Fakültesi, Bilgisayar Mühendisliği Bölümü | tr_TR |
dc.identifier.volume | 49 | en_US |
dc.identifier.issue | 12 | en_US |
dc.identifier.startpage | 121 | en_US |
dc.identifier.endpage | 132 | en_US |
dc.identifier.wos | WOS:000358311500015 | en_US |
dc.identifier.scopus | 2-s2.0-84907418391 | en_US |
dc.institutionauthor | Ağacan, Ömer S. | - |
dc.identifier.doi | 10.1145/2775050.2633369 | - |
dc.relation.publicationcategory | Makale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı | en_US |
dc.identifier.scopusquality | Q2 | - |
item.cerifentitytype | Publications | - |
item.fulltext | No Fulltext | - |
item.grantfulltext | none | - |
item.openairetype | Conference Object | - |
item.languageiso639-1 | en | - |
item.openairecristype | http://purl.org/coar/resource_type/c_18cf | - |
Appears in Collections: | Bilgisayar Mühendisliği Bölümü / Department of Computer Engineering Scopus İndeksli Yayınlar Koleksiyonu / Scopus Indexed Publications Collection WoS İndeksli Yayınlar Koleksiyonu / WoS Indexed Publications Collection |
CORE Recommender
WEB OF SCIENCETM
Citations
8
checked on Nov 2, 2024
Page view(s)
52
checked on Nov 11, 2024
Google ScholarTM
Check
Altmetric
Items in GCRIS Repository are protected by copyright, with all rights reserved, unless otherwise indicated.