-
Notifications
You must be signed in to change notification settings - Fork 23
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
Pretty Encoding #32
Open
Ayplow
wants to merge
7
commits into
grafi-tt:master
Choose a base branch
from
Ayplow:patch-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Pretty Encoding #32
Commits on Aug 5, 2019
-
First implementation of pretty encode
Any encoders with the same indent share a cache. Only one assignment is made on depth change. `space` is equivalent to the third argument of [javascript's JSON.stringify](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify)
Configuration menu - View commit details
-
Copy full SHA for 8429ddc - Browse repository at this point
Copy the full SHA 8429ddcView commit details
Commits on Aug 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a62dd99 - Browse repository at this point
Copy the full SHA a62dd99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 353cbeb - Browse repository at this point
Copy the full SHA 353cbebView commit details
Commits on Aug 7, 2019
-
Use a local variable instead of ENV for delimiters
Turns out using the environment has zero performance benefit in any version of lua, so it just serves to make the code less readable
Configuration menu - View commit details
-
Copy full SHA for 9488f33 - Browse repository at this point
Copy the full SHA 9488f33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80805ad - Browse repository at this point
Copy the full SHA 80805adView commit details -
Move the space parameter to the encode function
This brings the interface more in line with the rest of the library
Configuration menu - View commit details
-
Copy full SHA for f0dc1f6 - Browse repository at this point
Copy the full SHA f0dc1f6View commit details -
This doesn't really do anything for consumers, however it is valuable for ensuring variables are made local
Configuration menu - View commit details
-
Copy full SHA for 579ee3a - Browse repository at this point
Copy the full SHA 579ee3aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.