-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SOAR-0001] Implement Encoding for Property Names (#89)
## Motivation Encoding would help distinguish types properly. For eg. both `a b` and `a_b` would be rendered as `a_b`. This change would make it render `a20b` and `a_b` respectively. ## Modifications Added a hexadecimal encoding for un-supported characters rather than having just an underscore for everything. Removed redundant keywords. ## Result Proper differentiation between names as explained in the motivation, along with that, it also reduces the reserved keywords set by removing symbols and any keywords that prepend such symbols. ## Test Plan Tested and verified for several combinations of special characters in various positions in-between alphanumeric characters. --------- Co-authored-by: Honza Dvorsky <[email protected]>
- Loading branch information
Showing
2 changed files
with
141 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters