Skip to main content
Module

x/ohm_js/index.d.ts>grammar

A library and language for building parsers, interpreters, compilers, etc.
Go to Latest
function grammar
import { grammar } from "https://deno.land/x/ohm_js@v17.4.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