Please use this identifier to cite or link to this item:
https://hdl.handle.net/20.500.11851/9859
Full metadata record
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Adams, M.D. | - |
dc.contributor.author | A?acan, O.S. | - |
dc.date.accessioned | 2022-12-25T20:51:47Z | - |
dc.date.available | 2022-12-25T20:51:47Z | - |
dc.date.issued | 2014 | - |
dc.identifier.issn | 1523-2867 | - |
dc.identifier.uri | https://doi.org/10.1145/2633357.2633369 | - |
dc.identifier.uri | https://hdl.handle.net/20.500.11851/9859 | - |
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. © 2014 ACM. | en_US |
dc.language.iso | en | en_US |
dc.publisher | Association for Computing Machinery | en_US |
dc.relation.ispartof | ACM SIGPLAN Notices | en_US |
dc.rights | info:eu-repo/semantics/closedAccess | en_US |
dc.subject | indentation sensitivity | en_US |
dc.subject | layout | en_US |
dc.subject | offside rule | en_US |
dc.subject | parsec | en_US |
dc.subject | parsing | en_US |
dc.subject | Context free grammars | en_US |
dc.subject | Formal methods | en_US |
dc.subject | Syntactics | en_US |
dc.subject | Ad-hoc techniques | en_US |
dc.subject | Context-free grammars | en_US |
dc.subject | Formal foundation | en_US |
dc.subject | Haskell | en_US |
dc.subject | Indentation sensitivity | en_US |
dc.subject | Layout | en_US |
dc.subject | Offside rule | en_US |
dc.subject | Parsec | en_US |
dc.subject | Parsing | en_US |
dc.subject | Simple++ | en_US |
dc.subject | Semantics | en_US |
dc.title | Indentation-Sensitive Parsing for Parsec (article) | en_US |
dc.type | Article | en_US |
dc.department | ESTÜ | en_US |
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.scopus | 2-s2.0-85124645531 | en_US |
dc.institutionauthor | [Belirlenecek] | - |
dc.identifier.doi | 10.1145/2633357.2633369 | - |
dc.authorscopusid | 56784887200 | - |
dc.authorscopusid | 56369073400 | - |
dc.relation.publicationcategory | Makale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı | en_US |
dc.identifier.scopusquality | Q2 | - |
item.openairetype | Article | - |
item.languageiso639-1 | en | - |
item.grantfulltext | none | - |
item.fulltext | No Fulltext | - |
item.openairecristype | http://purl.org/coar/resource_type/c_18cf | - |
item.cerifentitytype | Publications | - |
Appears in Collections: | Scopus İndeksli Yayınlar Koleksiyonu / Scopus Indexed Publications Collection |
CORE Recommender
Items in GCRIS Repository are protected by copyright, with all rights reserved, unless otherwise indicated.