Module

x/ohm_js/index.d.ts>grammar

A library and language for building parsers, interpreters, compilers, etc.
Latest
function grammar
import { grammar } from "https://dotland.deno.dev/x/ohm_js@v17.1.0/index.d.ts";

Instantiate the Grammar defined by source. If specified, namespace is the Namespace to use when resolving external references in the grammar.

Parameters

source: string
optional
namespace: Namespace