Ändra sökning
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf
Interpreter for Timber Programs
2014 (Engelska)Självständigt arbete på avancerad nivå (yrkesexamen), 20 poäng / 30 hpStudentuppsats (Examensarbete)
Abstract [en]

There are many ways that code can be debugged. It can done by analyzing code, but is often easier with help of a computer. This can be done by adding printing statements or assertions, but also by using debuggers or interpreters.In this masters thesis the choices done while designing and implementing an interpreter for a subset of the programming language Timber is presented. It allows programs to be debugged in a platform independent manner and is also useful while using Timber as a modeling language. The interpreter tries to show the user what is happening instead of only computing the result.Instead of keeping a static copy of the program code and remembering the position and variables, the interpreter starts out with a copy of the code that is modified during evaluation. This code contains all variables and encompasses the whole state of the program, which can be shown to the user. This gives a complete view of the state of the program instead of just showing a list of all bound variables and the position in the code. This state can be made to resemble a stack trace but with much more details, in fact all details possible. Since all of this information is available as code, the interpreter can actually save the output as a new program that can later be run to continue evaluation.

Ort, förlag, år, upplaga, sidor
2014. , s. 45
Nyckelord [en]
Technology, Timber, Interpreter, Interpreting, Debugger, Debugging
Nyckelord [sv]
Teknik
Identifikatorer
URN: urn:nbn:se:ltu:diva-49786Lokalt ID: 7199bfdb-fca0-4b7b-822a-32033f942749OAI: oai:DiVA.org:ltu-49786DiVA, id: diva2:1023134
Ämne / kurs
Examensarbete, minst 30 hp
Utbildningsprogram
Civilingenjör, Datateknik
Handledare
Examinatorer
Anmärkning
Validerat; 20140617 (global_studentproject_submitter)Tillgänglig från: 2016-10-04 Skapad: 2016-10-04 Senast uppdaterad: 2025-10-22Bibliografiskt granskad

Open Access i DiVA

fulltext(358 kB)163 nedladdningar
Filinformation
Filnamn FULLTEXT02.pdfFilstorlek 358 kBChecksumma SHA-512
b18a72f899c0a952a307c2dc6fa08013ddb50a6cad45aac82ae378d9f1ec1eff8700dcce1a5ac60bb6056e33ec27d96155b4a27780574c418a87e9cb55d26d71
Typ fulltextMimetyp application/pdf

Sök vidare i DiVA

Av författaren/redaktören
Engström, Anders

Sök vidare utanför DiVA

GoogleGoogle Scholar
Totalt: 163 nedladdningar
Antalet nedladdningar är summan av nedladdningar för alla fulltexter. Det kan inkludera t.ex tidigare versioner som nu inte längre är tillgängliga.

urn-nbn

Altmetricpoäng

urn-nbn
Totalt: 130 träffar
RefereraExporteraLänk till posten
Permanent länk

Direktlänk
Referera
Referensformat
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Annat format
Fler format
Språk
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Annat språk
Fler språk
Utmatningsformat
  • html
  • text
  • asciidoc
  • rtf