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

Direct link
Cite
Citation style
  • apa
  • harvard1
  • 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
A Syntax Highlighting and Code Formatting Tool for Extensible Languages
Linköping University, Department of Computer and Information Science, Software and Systems.
2017 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Domain specific languages are sometimes useful to make it easier to express solutions to problems in a specific domain compared to general purpose programming languages. There are a number of tools available to create such languages, either as separate languages or by extending an existing language. One large problem with creating languages or language extensions is that existing tools are unaware of the new language, and therefore unable to properly assist the programmer unless all such tools are extended to support the new language. Extending all tools to support the new language is often a large enough task to be infeasible, especially for small languages.

In this thesis, we propose using the compiler of the extensible language Storm to provide the information required for a text editor to provide syntax highlighting and code formatting. By using the Storm compiler to provide the required information, it is possible to use the Storm language definitions for syntax highlighting and code formatting in addition to compiling the language. This means that syntax highlighting and code formatting can be provided without requiring the language author to maintain multiple implementations of the language. The solution is evaluated by comparing the correctness and the responsiveness of the syntax highlighting to Emacs.

Place, publisher, year, edition, pages
2017. , p. 76
Keywords [en]
domain specific languages, extensible languages, syntax highlighting, code formatting, language server
National Category
Computer Engineering
Identifiers
URN: urn:nbn:se:liu:diva-138847ISRN: LIU-IDA/LITH-EX-A--17/028--SEOAI: oai:DiVA.org:liu-138847DiVA, id: diva2:1115117
Subject / course
Computer Engineering
Presentation
2017-06-16, Donald Knuth, Linköping University, SE–58183 Linköping, 10:15 (English)
Supervisors
Examiners
Available from: 2017-06-27 Created: 2017-06-26 Last updated: 2018-01-13Bibliographically approved

Open Access in DiVA

fulltext(603 kB)80 downloads
File information
File name FULLTEXT01.pdfFile size 603 kBChecksum SHA-512
8ceba73c2e3b370d5723d46d90043294e61298d6f0f8bbe110aba8143c5d2c17b6fa4b8aa0a913b91e65c9a8fc7f5110e95f385b79374abd9894c5cd8cdd47ff
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Strömbäck, Filip
By organisation
Software and Systems
Computer Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 80 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: 373 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • 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