Elixir.Kernel.beam decompilation #583

Merged
merged 6 commits into from Jan 7, 2017

Projects

None yet

2 participants

@KronicDeth
Owner
KronicDeth commented Jan 7, 2017 edited

Fixes #581

Changelog

Enhancements

  • Macros appears before functions in decompiled .beam files
    • Header for macro and function sections

Bug Fixes

  • Add ++ to INFIX_OPERATOR_SET.
  • Only render infix operators if arity is 2.
  • Prefix operator decompilation: + and - are both binary and unary operators. When a unary operator they need to be wrapped in parentheses, so that the call definition clause is parsed correctly.
  • Add =~ to INFIX_OPERATOR_SET.
  • Add in to INFIX_OPERATOR_SET.
@KronicDeth KronicDeth added this to the 4.8.0 milestone Jan 7, 2017
@KronicDeth KronicDeth self-assigned this Jan 7, 2017
@KronicDeth Macros before functions in decompiled source
Also section headers
e66a4d8
@KronicDeth KronicDeth merged commit a817533 into master Jan 7, 2017

1 of 3 checks passed

codacy/pr Not so good... This pull request quality could be better.
Details
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
@KronicDeth KronicDeth added a commit that referenced this pull request Jan 7, 2017
@KronicDeth Add #583 to changelogs 35ab4f5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment