-
Notifications
You must be signed in to change notification settings - Fork 9
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
Change modeling of Literals in the AST remove ambiguity #517
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev-ion-doc #517 +/- ##
===============================================
+ Coverage 80.70% 80.75% +0.04%
===============================================
Files 88 88
Lines 19409 19483 +74
Branches 19409 19483 +74
===============================================
+ Hits 15665 15734 +69
- Misses 3324 3326 +2
- Partials 420 423 +3 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
Conformance comparison report
Number passing in both: 5564 Number failing in both: 833 Number passing in Base (75ffa06) but now fail: 0 Number failing in Base (75ffa06) but now pass: 0 |
Follow-up #518 to fix the |
Change parsing and AST-modeling of literals to not share AST structures with non-scalar expressions.
* Change Lexing/Parsing of embedded docs to not eagerly validate (#507) This changes the lexer and parser to pass through strings enclosed in backticks un-parsed. (At current, these documents are parsed during lowering). Since embedded documents may themselves contain backticks, beginning and ending delimiters consist of an arbitrary odd numbers of backticks (e.g., `` ` ``, `` ``` ``, `` ````` `` etc.) that must be paired (e.g., `` `$ion_data_here::[]` ``, `` ```$ion_data_here::[ $string_with_embedded_backtick:"`" ]``` ``, etc.). As opening and closing delimiters are required to be odd in count of backticks, a contiguous string of backticks that is even is interpreted as an empty document. * Behavior-preserving refactor of `Value` into a module. (#509) * Behavior-preserving refactor of Value into a module. (#510) * Change modeling of Literals in the AST remove ambiguity (#517) Change parsing and AST-modeling of literals to not share AST structures with non-scalar expressions. * Change modeling of boxed ion literals to be lazy until evaluator. (#519) Changes the logical plan to have a distinct `Lit` type to hold literals instead of embedded `Value` * Refactor lifetimes for new rust warnings
Change parsing and AST-modeling of literals to not share AST structures with non-scalar expressions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.