[erlang-questions] beta release of merl - metaprogramming in Erlang

Anthony Ramine <>
Tue Feb 4 15:17:59 CET 2014


Shameless plug, but kinda related, you might appreciate this Richard.

	https://github.com/nox/otp/commit/b734fc412ad9ea8d1b5d810127c058936955461e

Implemented this a few years ago, it’s not finished but I may work again on it if people like it or want to see it finished.

Merl looks fun but I really really hate epp-like macros and code in strings, I guess it does work in the end though.

-- 
Anthony Ramine

Le 4 févr. 2014 à 12:54, Richard Carlsson <> a écrit :

> So, I finally got around to releasing Merl to Github, under an Apache 2 license:
>  https://github.com/richcarl/merl
> 
> I talked about it two years ago in San Francisco:
>  http://www.youtube.com/watch?v=RA7QcMNBKfg
> 
> Slides here:
> http://www.erlang-factory.com/conference/ErlangUserConference2012/speakers/RichardCarlsson
> 
> See the edoc overview for documentation, and the examples/ subdirectory for example code.
> 
> Currently missing: I'd like to have a good API for working with a "module" as an ADT, easily adding and removing definitions and querying the current state, and also reading an existing module from file or as an AST in a parse transform. The file "examples/merl_build.erl" is a start, but I don't have time right now to work more on that. Useful sources of inspiration for such an API are https://github.com/yariv/erlyweb/blob/master/src/smerl/smerl.erl and https://github.com/uwiger/parse_trans.
> 
>  /Richard
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list