• English
    • svenska
  • svenska 
    • English
    • svenska
  • Logga in
Redigera dokument 
  •   Startsida
  • Student essays / Studentuppsatser
  • Department of Computer Science and Engineering / Institutionen för data- och informationsteknik
  • Masteruppsatser
  • Redigera dokument
  •   Startsida
  • Student essays / Studentuppsatser
  • Department of Computer Science and Engineering / Institutionen för data- och informationsteknik
  • Masteruppsatser
  • Redigera dokument
JavaScript is disabled for your browser. Some features of this site may not work without it.

API-Driven Generation of Well-Typed Terms

Sammanfattning
In this thesis, a reusable library for defining generators for well-typed expressions in standard Haskell is presented. The expressions are randomly constructed from a set of functions and values specified by a user. Both the types of these functions and the type of the generated expression can be polymorphic and/or higher order, i.e. containing functions with polymorphic types as arguments. The main motivation for this library is for generating test data when testing an Embedded Domain Specific Language (EDSL) where constructing a generator for the language by hand might be both tedious and error-prone. The library was successfully used to define a generator producing terms similar to those computed by such a hand-made generator. The code size and complexity of the final generator was significantly reduced when compared to the hand-made one.
Examinationsnivå
Student essay
URL:
http://hdl.handle.net/2077/36981
Samlingar
  • Masteruppsatser
Fil(er)
gupea_2077_36981_1.pdf (412.0Kb)
Datum
2014-09-19
Författare
Spångberg, David
Språk
eng
Metadata
Visa fullständig post

DSpace software copyright © 2002-2016  DuraSpace
gup@ub.gu.se | Teknisk hjälp
Theme by 
Atmire NV
 

 

Visa

VisaSamlingarI datumordningFörfattareTitlarNyckelordDenna samlingI datumordningFörfattareTitlarNyckelord

Mitt konto

Logga inRegistrera dig

DSpace software copyright © 2002-2016  DuraSpace
gup@ub.gu.se | Teknisk hjälp
Theme by 
Atmire NV