Module

x/ohm_js/index.d.ts>grammars

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

Create a new Namespace containing Grammar instances for all of the grammars defined in source. If namespace is specified, it will be the prototype of the new Namespace.

Parameters

source: string
optional
namespace: Namespace