This website is the artifact of the OOPSLA'22 paper Compositional Embeddings of Domain-Specific Languages. The artifact includes an in-browser implementation of CP and ExT as well as several applications. You can click on the links listed below to view the source code and rendered output.
Minipedia is a mini document repository of states and cities, which reconstructs a small portion of Wikipedia. Minipedia currently contains the ten smallest countries in the world as well as their capitals. Besides, there are two programmatically sorted lists by area and population.
General-purpose computation in compositional embeddings enables computational graphics like fractals. The recurring patterns in fractals can be efficiently drawn with the help of linguistic reuse. Five well-known variants of fractals have been implemented:
Note: Koch fractals share a common library: LibKoch.
Charts can be customized in many different ways. The customization of charts shows how compositional embeddings adapt object-oriented design patterns, such as Strategy and Decorator, for type-safe delegation via trait composition.