• LOGIN
    Login with username and password
Repository logo

BORIS Portal

Bern Open Repository and Information System

  • Publications
  • Theses
  • Research Data
  • Projects
  • Organizations
  • Researchers
  • More
  • Collections
  • Statistics
  • LOGIN
    Login with username and password
Repository logo
Unibern.ch
  1. Home
  2. Publications
  3. Bounded Seas: Island Parsing Without Shipwrecks
 

Bounded Seas: Island Parsing Without Shipwrecks

Options
  • Details
  • Files
BORIS DOI
10.7892/boris.67046
Official URL
http://scg.unibe.ch/archive/papers/Kurs14b-BoundedSeas.pdf
Publisher DOI
10.1007/978-3-319-11245-9_4
Description
Imprecise manipulation of source code (semi-parsing) is useful for tasks such as robust parsing, error recovery, lexical analysis, and rapid development of parsers for data extraction. An island grammar precisely defines only a subset of a language syntax (islands), while the rest of the syntax (water) is defined imprecisely. Usually, water is defined as the negation of islands. Albeit simple, such a definition of water is naive and impedes composition of islands. When developing an island grammar, sooner or later a programmer has to create water tailored to each individual island. Such an approach is fragile, however, because water can change with any change of a grammar. It is time-consuming, because water is defined manually by a programmer and not automatically. Finally, an island surrounded by water cannot be reused because water has to be defined for every grammar individually. In this paper we propose a new technique of island parsing - bounded seas. Bounded seas are composable, robust, reusable and easy to use because island-specific water is created automatically. We integrated bounded seas into a parser combinator framework as a demonstration of their composability and reusability.
Date of Publication
2014
Publication Type
Conference Item
Subject(s)
000 Computer science, knowledge & systems
500 Science > 510 Mathematics
Keyword(s)
scg-pub
•
scg14
•
jb15
•
snf-asa
Language(s)
en
Contributor(s)
Kurs, Jan
Institut für Informatik und angewandte Mathematik (IAM)
Lungu, Mircea
Institut für Informatik und angewandte Mathematik (IAM)
Nierstrasz, Oscar
Institut für Informatik und angewandte Mathematik (IAM)
Editor(s)
Combemale, Benoî
Pearce, David J.
Barais, Olivier
Vinju, Jurgen J.
Additional Credits
Institut für Informatik und angewandte Mathematik (IAM)
Publisher
Springer International Publishing
ISBN
978-3-319-11244-2
Title of Event
Software Language Engineering
Access(Rights)
restricted
Show full item
BORIS Portal
Bern Open Repository and Information System
Build: dd892c [ 9.04. 8:30]
Explore
  • Projects
  • Funding
  • Publications
  • Research Data
  • Organizations
  • Researchers
  • Audiovisual Material
  • Software & other digital items
  • Events
More
  • About BORIS Portal
  • Send Feedback
  • Cookie settings
  • Service Policy
Follow us on
  • Mastodon
  • YouTube
  • LinkedIn
UniBe logo