There are lots of fragments out there detailing bits and pieces of the parse transform process in Erlang, but none I've found offer complete coverage from motivation to execution. Is there a good tutorial I'm missing somewhere and, if so, where can it be found?
views:
710answers:
1
+3
A:
Checkout this series of blogposts on how to use parse transform capabilities of erlang to write a macro processor for erlang:
- erlang-macro-processor-v1-part-i
- erlang-macro-processor-v1-part-ii
- erlang-macro-processor-v1-part-iii
- erlang-macro-processor-v1-part-iv
- erlang-macro-processor-v2-part-i
- erlang-macro-processor-v2-part-ii
- erlang-macro-processor-v2-part-iii
- erlang-macro-processor-v2-part-iv
- erlang-macro-processor-v2-part-v
- erlang-macro-processor-v2-part-vi
snies
2010-03-26 10:43:54
Damn! If I could transfer 100 karma to you I'd do it. Very good catch. Thanks.
JUST MY correct OPINION
2010-03-26 10:48:01
Also have a look at smerl (part of erlyweb).
snies
2010-03-26 10:50:38