-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Equal sign is now defined as `=` | U+FE66 | U+FF1D | U+1F7F0 - BOM is allowed in the start of the document only - Added \s escape sequence - Disallowed invalid escape sequences - Allowed EOF right after the \ line continuation - Strings and identifiers cannot include characters from the "Disallowed Literal Code Points" list - true, false, and null values are now written as #true, #false, #null respectively - Changed the raw string syntax from r"raw" to #"raw"# - Removed no-whitespace checks around = and type annotations - Strings can now be written as bare identifiers - Added multi-line "dedented" strings, newlines in single-line strings are disallowed - Newlines in multi-line strings are normalized to \n - Identifiers cannot start with .<digits> anymore (optionally prefixed by +-) - Added #inf, #-inf, #nan numbers - true, false, inf, -inf, nan are invalid identifiers - Small documentation improvements TODO: The correct by the spec handling of whitespace is still to be implemented. TODO: The pretty-printer doesn't yet work well for some special symbols and generally isn't good enough in edge cases. Other KDL v2 changes have alredy been implemented before, namely: Line Tabulation as whitespace, \/ is no longer an escape sequence, \ whitespace escape. #1
- Loading branch information
Showing
13 changed files
with
693 additions
and
473 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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
The MIT License | ||
|
||
Copyright (c) 2022-2023 https://github.com/Bannerets <[email protected]> | ||
Copyright (c) 2022-2024 https://github.com/Bannerets <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
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
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
Oops, something went wrong.