License: Creative Commons Attribution 3.0 Germany license (CC BY 3.0 DE)
When quoting this document, please refer to the following
DOI: 10.4230/DARTS.5.2.12
URN: urn:nbn:de:0030-drops-107897
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2019/10789/
Go back to Dagstuhl Artifacts Series


Roth, Ori ; Gil, Yossi

Fling - A Fluent API Generator (Artifact)

pdf-format:
DARTS-5-2-12.pdf (0.6 MB)


Abstract

The first general and practical solution of the fluent API problem is presented. We give an algorithm that given a deterministic context free language (equivalently, LR(k), k >= 0 language) encodes it in an unbounded parametric polymorphism type system employing only a polynomial number of types. The theoretical result is employed in an actual tool Fling - a fluent API compiler-compiler in the style of YACC, tailored for embedding DSLs in Java.

BibTeX - Entry

@Article{roth_et_al:DARTS:2019:10789,
  author =	{Ori Roth and Yossi Gil},
  title =	{{Fling - A Fluent API Generator (Artifact)}},
  pages =	{12:1--12:9},
  journal =	{Dagstuhl Artifacts Series},
  ISSN =	{2509-8195},
  year =	{2019},
  volume =	{5},
  number =	{2},
  publisher =	{Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{http://drops.dagstuhl.de/opus/volltexte/2019/10789},
  doi =		{10.4230/DARTS.5.2.12},
  annote =	{Keywords: Fluent API, compilation, generics, code generation}
}

Keywords: Fluent API, compilation, generics, code generation
Collection: Special Issue of the 33rd European Conference on Object-Oriented Programming (ECOOP 2019)
Related Scholarly Article: https://dx.doi.org/10.4230/LIPIcs.ECOOP.2019.13
Issue Date: 2019
Date of publication: 12.07.2019


DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI