Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nom-language/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! # Langage parsing combinators for the nom parser combinators library
//! # Language parsing combinators for the nom parser combinators library
//!
//! nom is a parser combinator library with a focus on safe parsing,
//! streaming patterns, and zero copy.
Expand Down
8 changes: 4 additions & 4 deletions nom-language/src/precedence/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ where
///
/// # Evaluation order
/// This parser reads expressions from left to right and folds operations as soon as possible. This
/// behaviour is only important when using an operator grammar that allows for ambigious expressions.
/// behaviour is only important when using an operator grammar that allows for ambiguous expressions.
///
/// For example, the expression `-a++**b` is ambigious with the following precedence.
/// For example, the expression `-a++**b` is ambiguous with the following precedence.
///
/// | Operator | Position | Precedence | Associativity |
/// |----------|----------|------------|---------------|
Expand Down Expand Up @@ -376,8 +376,8 @@ where
/// In a LALR grammar a left recursive operator is usually built with a rule syntax such as:
/// * A := A op B | B
///
/// If you try to parse that wth [`alt`][nom::branch::alt] it will fail with a stack overflow
/// because the recusion is unlimited. This function solves this problem by converting the recusion
/// If you try to parse that with [`alt`][nom::branch::alt] it will fail with a stack overflow
/// because the recursion is unlimited. This function solves this problem by converting the recursion
/// into an iteration.
///
/// Compare with a right recursive operator, that in LALR would be:
Expand Down
2 changes: 1 addition & 1 deletion src/combinator/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ where
}
}

/// Parser iplementation for verify
/// Parser implementation for verify
pub struct Verify<F, G, O2: ?Sized> {
first: F,
second: G,
Expand Down