API-Driven Generation of Well-Typed Terms

dc.contributor.authorSpångberg, David
dc.contributor.departmentGöteborgs universitet/Institutionen för data- och informationsteknikswe
dc.contributor.departmentUniversity of Gothenburg/Department of Computer Science and Engineeringeng
dc.date.accessioned2014-09-19T11:29:48Z
dc.date.available2014-09-19T11:29:48Z
dc.date.issued2014-09-19
dc.description.abstractIn 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.sv
dc.identifier.urihttp://hdl.handle.net/2077/36981
dc.language.isoengsv
dc.setspec.uppsokTechnology
dc.titleAPI-Driven Generation of Well-Typed Termssv
dc.typetext
dc.type.degreeStudent essay
dc.type.uppsokH2

Files

Original bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
gupea_2077_36981_1.pdf
Size:
412.04 KB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
876 B
Format:
Item-specific license agreed upon to submission
Description:

Collections