Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Can parse dicts, but getting a weird spec test error
- Loading branch information
Andy C
committed
Dec 27, 2023
1 parent
e2e3980
commit 7b11180
Showing
7 changed files
with
173 additions
and
19 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -703,6 +703,7 @@ def AddKinds(spec): | |
'Colon', | ||
|
||
# Parsed | ||
'Null', | ||
'Bool', | ||
'Number', # Int and Float | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
echo '{ }' | j8 read | ||
= _reply | ||
|
||
exit | ||
|
||
echo '{"k": "v"}' | j8 read | ||
= _reply | ||
|
||
#exit | ||
|
||
echo '{"k": null}' | j8 read | ||
= _reply | ||
|
||
#exit | ||
|
||
echo '{"k": 1, "k2": 2}' | j8 read | ||
= _reply | ||
|
||
#exit | ||
|
||
echo '{"k": {"k2": null}}' | j8 read | ||
= _reply | ||
|
||
#exit | ||
|
||
echo '{"k": {"k2": "v2"}, "k3": null}' | j8 read | ||
= _reply |
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