Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native macros #21

Merged
merged 30 commits into from
Jan 23, 2018
Merged

Native macros #21

merged 30 commits into from
Jan 23, 2018

Conversation

errordeveloper
Copy link
Owner

This PR wraps up the improvements to macro processing code. Using jsonparser was just a bit too painful as it stores the tree as byte buffer internally which can be tricky to work with.

@errordeveloper
Copy link
Owner Author

errordeveloper commented Jan 16, 2018

TODOs

  • make *Tree.overlayHere() works properly with arrays
  • cleanup comments and comment out debug log lines
  • uncomment and fix tests that are marked TODO

@errordeveloper errordeveloper force-pushed the key-based-expressions branch 5 times, most recently from 9ecb48e to 3a7af6f Compare January 23, 2018 13:36
- allow overlaying arrays over emptied objects and empty arrays
- pass poiters to slice in *t.keyTypeSwitch
- all lookup macros done in the same phase
@errordeveloper errordeveloper merged commit 69b9851 into master Jan 23, 2018
@errordeveloper errordeveloper deleted the key-based-expressions branch January 23, 2018 15:26
This was referenced Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant