Document Open Access Logo

Fling - A Fluent API Generator

Authors Yossi Gil, Ori Roth

Thumbnail PDF


  • Filesize: 0.8 MB
  • 25 pages

Document Identifiers

Author Details

Yossi Gil
  • Technion I.I.T Computer Science Dept., Haifa, Israel
Ori Roth
  • Technion I.I.T Computer Science Dept., Haifa, Israel

Cite AsGet BibTex

Yossi Gil and Ori Roth. Fling - A Fluent API Generator. In 33rd European Conference on Object-Oriented Programming (ECOOP 2019). Leibniz International Proceedings in Informatics (LIPIcs), Volume 134, pp. 13:1-13:25, Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2019)


We present the first general and practical solution of the fluent API problem - an algorithm, that given a deterministic 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 accompanied by an actual tool Fling - a fluent API compiler-compiler in the venue of YACC, tailored for embedding DSLs in Java.

Subject Classification

ACM Subject Classification
  • Software and its engineering → General programming languages
  • Software and its engineering → Domain specific languages
  • fluent API
  • type system
  • compilation
  • code generation


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads
Questions / Remarks / Feedback

Feedback for Dagstuhl Publishing

Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail