Skip to content
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

[pull] main from rust-bakery:main #25

Merged
merged 20 commits into from
Jan 7, 2025
Merged

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 7, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Oct 7, 2024
YuniqueUnic and others added 19 commits December 8, 2024 13:38
#1777)

This update includes clearer descriptions for the `delimited`, `preceded`, `terminated`, `pair`, and `separated_pair` combinator functions. The detailed explanations of each combinator's behavior aim to help users better understand and utilize these functions.
* separated_list doc update

* separated_list1_test: add empty_both
Co-authored-by: Geoffroy Couprie <[email protected]>
Co-authored-by: cxworks <[email protected]>
Co-authored-by: Geoffroy Couprie <[email protected]>
* Implement trivial Copy and ToOwned functions for Error<I>

* Update src/error.rs

---------

Co-authored-by: Geoffroy Couprie <[email protected]>
Co-authored-by: Geoffroy Couprie <[email protected]>
* clean up warnings

* clippy

* fix
* 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]>
Introduce the nom-language crate
@pull pull bot merged commit 7afe3a8 into makesoftwaresafe:main Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.