Tag Archives: DSL

  • Lisp-like DSL for Benchmarking by Renat Idrisov
    2016-10-03 Erlang Central

    Videos



    Slides and more info: http://www.erlang-factory.com/euc2016/renat-idrisov Once you need to benchmark a distributed system, you have a lot of different scenarios and cases to cover. There are two boundary solutions: to give a user ability to write scenarios in the same language as the system itself or leave only rates and other constants changeable. The first kind of systems are hard to support and insecure, the second kind is hard to extend. I'd like to present something in-between these two, ...


    Read more


  • Erlang Metaprogramming Made Easy
    2012-05-28 Erlang Central

    Presentations

    To generate Erlang code dynamically, you have until now had two choices: you could either create plain tuples according to the "abstract format" as generated by erl_parse (which is messy and has many special cases to keep in mind), or you could use the API functions in the erl_syntax module (which offer more abstraction, but can get pretty verbose). This talk will present the missing ingredient; a library allowing you to use template strings with metavariables, both for generating and matching o ...


    Read more


  • Implementing languages on the Erlang VM
    2012-03-26 Erlang Central

    Videos



    When creating a new language, either a DSL (Domain Specific Language) or a more general purpose one, it can be a great help to build on top of an existing language or VM. This can give you "for free" many of the properties and existing libraries of that system. However, it can also limit you to the properties of the base system thereby restricting your language. This talk will describe building languages on the Erlang VM and how the features of Erlang affect the properties of these languages. It ...


    Read more


  • Props: A DSL for Dealing with JSON-like Structures in Erlang
    2012-03-26 Erlang Central

    Presentations

    Dealing with JSON in Erlang is not nearly as seamless as in JavaScript. Using existing tooling from the Erlang ecosystem, I've created a new and, most importantly, easy to use data structure for working with JSON-like property structures. Learn how to use props for your own projects, and also you can leverage tools like Neotoma to make your own DSLs. Talk objectives: Introduce Props library and present how it was made and how others can make their own DSLs in Erlang. Target audience: Erlan ...


    Read more