-
Notifications
You must be signed in to change notification settings - Fork 812
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial prototype * Update docs Remove unused code * More doc updates * Add feature flags for Vec * Add basic tests * Fix formatting * Add precedence to choosing_a_combinator.md * Fix typo * Minor refractoring * Update docs * Change parameter order * Add alloc feature to the entire precedence module The parser really cant work without it and the helpers dont make much sense without the parser. * Use fail parser to express "no operators of this type" * Document evaluation order * Better documentation for parameters * Fix precedence in documentation * Fix doc formatting * Fix typos * Use map_res when parsing integers * Example test for expressions with function calls and AST generation * Typo * Make evaluation a bit easier to read * Update expression_ast * Update expression_ast doc * Implement ternary operator in expression_ast * Shorten ast nodes * Implement some tests for parser failures * Update feature flags for docs * Properly append errors * Properly bubble up non Error errors * Split operators into 3 distinct types to help with exhaustiveness checks. --------- Co-authored-by: Geoffroy Couprie <[email protected]>
- Loading branch information
Showing
7 changed files
with
622 additions
and
0 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 |
---|---|---|
|
@@ -451,6 +451,8 @@ pub mod bytes; | |
|
||
pub mod character; | ||
|
||
pub mod precedence; | ||
|
||
mod str; | ||
|
||
pub mod number; | ||
|
Oops, something went wrong.