Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

parsers

nom.parsers

nom.parsers -- namespace for parser combinators and parsers built with nom

Functions

return result of first succeeding parser
discard p1 and p3, return result of p2
match one or more digits
a json parser
apply parser multiple times, return results as sequence
apply parser at least once, return results as sequence
apply parser between m and n times, return results as sequence
discard the output of the first parser, return the result of the second parser
parse a separated list of values, zero or more values
parse a separated list of values, one or more values
(I 
type
, R1 
type
, R2 
type
, R3 
type
, O1 
type
, O2 
type
, O3 
type
, p1 nom.this.Parser I R1 O1, p_sep nom.this.Parser R1 R2 O2, p2 Function (nom.this.Parser R2 R3 O3))
 => 
nom.this.Parser I R3 (tuple O1 O3)
return result of p1 and p2 as tuple, drop result of p_sep
match str
take while cond is satisfied
take while cond is satisfied, at least once
matches input as often as possible but at least m times and at most n times.
convert a parser taking a sequence of codepoints to a parser that takes a string
convert a parser returning a sequence of codepoints to a parser that returns a string
convert a parser taking and returning to codepoints to a parser taking and returning a string
apply p1 then p2 and return their results as a tuple.
apply p1 then p2 then p3 and return their results as a tuple.
apply p1 then p2 then p3, then p4 and return their results as a tuple.
match zero or more whitespace

Choice Types

json supports the following types: strings, numbers, booleans, null, arrays and objects
0.095dev (2025-09-09 14:29:31 GIT hash 98644f8f651c2101a0730cfe31c5807993b7603b built by fridi@fzen)