Fling - A Fluent API Generator

Yossi Gil, Ori Roth, Michael Wagner
2019 European Conference on Object-Oriented Programming  
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. ACM Subject Classification Software and its engineering → General
more » ... ming languages; Software and its engineering → Domain specific languages
doi:10.4230/lipics.ecoop.2019.13 dblp:conf/ecoop/GilR19 fatcat:hj24istisvfbjhwsy6b62qi6c4