Is there a good, complete tutorial on Erlang parse

2019-01-13 00:40发布

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?

3条回答
Root(大扎)
3楼-- · 2019-01-13 01:20

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.

查看更多
欢心
4楼-- · 2019-01-13 01:29

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

查看更多
登录 后发表回答