basic-parser
v2.0.0
Published
An extremely basic token-based parser
Downloads
479
Readme
basic-parser
An extremely basic token-based parser
Examples
import basicParser from 'basic-parser'
const renderers = [/* ... */]
const render = basicParser({ renderers })
const text = 'Any string with tokens recognized by the renderers'
const tree = render({ text })