Skip to main content
Module

x/katakomby/mod.ts

Текста-ориентированная коробочка для LL(k) парсеров.
Latest
import * as katakomby from "https://deno.land/x/katakomby@dump/mod.ts";

Functions

Пытается разобрать всю входную строку, и если это не получается, то падает с ошибкой.

Reads with the first successful parser it encounters.

Links two parsers into one.

Creates parsers with an error.

Counts zero or more matches of the passed parser.

Replaces parser values.

Replaces the error value.

Matches a regular expression against an input. Regex must be a sticky.

Reads the entire sequence of parsers.

Reads a constant string.

Creates parsers with an value.

Обворачивает входную строку в контекст.