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?
相关问题
- Correctly parse PDF paragraphs with Python
- R: eval(parse()) error message: cannot ope
- How do I parse a .pls file using PHP? Having troub
-
Create array from the contents of 相关文章
- How do I get from a type to the TryParse method?
- Slow ANTLR4 generated Parser in Python, but fast i
- Parsing JSON in QML [duplicate]
- How do I modify a record in erlang?
- How do I generate an AST from a string of C++ usin
- Check active timers in Erlang
- JSoup will not fetch all items?
- Content is not allowed in prolog
Checkout this series of blogposts on how to use parse transform capabilities of erlang to write a macro processor for erlang:
Please note that 'Programmers are strongly advised not to engage in parse transformations and no support is offered for problems encountered'. Sometimes it simplifies the process of writing new pieces of code but often breaks syntax checkers like flymake. In fact, I hate it, cause it adds a new layer of obfuscation when you trying to figure out what others did in source.
These are made easy by using, https://github.com/uwiger/parse_trans