Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a good, complete tutorial on Erlang parse transforms available?

Tags:

parsing

erlang

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?

like image 529
JUST MY correct OPINION Avatar asked Mar 10 '10 10:03

JUST MY correct OPINION


2 Answers

Check out this series of blog posts, by Philip Robinson, 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
like image 119
snies Avatar answered Sep 18 '22 18:09

snies


These are made easy by using, https://github.com/uwiger/parse_trans

like image 45
Marutha Avatar answered Sep 20 '22 18:09

Marutha