Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.0.3/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