Skip to main content
Module

x/pazza/src/multi.ts

Parser combinators library designed for Deno, but also works on browsers and Node.js.
Go to Latest
import * as pazza from "https://deno.land/x/pazza@v0.3.0/src/multi.ts";

Functions

Repeat them embedded parser with "min" times at minimum and "max" times at maximum.

Repeat them embedded parser any times, at least 0.

Repeat them embedded parser at least once.

Repeat the embedded parser until the "end" parser succeeded.

Execute the embedded parser in specified times, with another parser as separator, then produce a list of values.

Execute the embedded parser at least once with another parser as separator, then produce a list of values.

Execute the embedded parser in specified times, with another parser as separator, then produce a list of values. Separator can be trailing.

Execute the embedded parser at least once with another parser as separator, then produce a list of values. Separator can be trailing.