liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Evaluation of a GLL Parser for Storm with Error Recovery
Linköping University, Department of Computer and Information Science.
2026 (English)Independent thesis Basic level (university diploma), 14 HE creditsStudent thesisAlternative title
Utvärdering av en GLL parser för Storm med felåterhämtning (Swedish)
Abstract [en]

This thesis evaluates an existing Generalised LL (GLL) parser for the Storm programming language platform and compares it to the current Generalised LR (GLR) parser. The focus is on parsing performance, error recovery, and syntax highlighting when syntax errors are present.

A simple character-based recovery mechanism is implemented for the GLL parser. The evaluation uses generated Storm inputs, both with and without introduced syntax errors. Valid inputs are measured using strict parsing, while erroneous inputs are measured using approximate parsing. Syntax highlighting is evaluated by first checking which correct inputs produce syntax colour, and then comparing how much highlighting remains after errors are introduced.

The results show that the GLL parser performs especially well on valid expression-chain inputs, where it is up to 106 times faster than the GLR parser in the evaluated tests. For more deterministic inputs, the difference is smaller. With syntax errors, the results are more mixed: GLL remains faster for the simple expression grammar, but can be slower on some long erroneous inputs in the more realistic Storm language.

For inputs that produce syntax-highlighted output in the baseline test, the highlighting results are mixed. GLL preserves useful highlighting in several error cases, while GLR preserves more of the expected colours in some missing-closing-brace cases. Overall, the results indicate that the GLL parser is a promising alternative to the current GLR parser in Storm, but that the recovery strategy needs further improvement before full editor integration.

Place, publisher, year, edition, pages
2026. , p. 27
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:liu:diva-225188ISRN: LIU-IDA/LITH-EX-G--26/029--SEOAI: oai:DiVA.org:liu-225188DiVA, id: diva2:2074514
Supervisors
Examiners
Available from: 2026-06-22 Created: 2026-06-17 Last updated: 2026-06-22Bibliographically approved

Open Access in DiVA

fulltext(231 kB)103 downloads
File information
File name FULLTEXT01.pdfFile size 231 kBChecksum SHA-512
bdcffd9204a6bc0bad089314a8d1c398b0e653cfd3bb2ece02ff20fde39fe4fa0e21c0100e2994f116361672666110a7af9693cc6559d84ccf51a3df3c103189
Type fulltextMimetype application/pdf

By organisation
Department of Computer and Information Science
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 103 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 144 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf