@bablr/language_enhancer-debug-log
v0.5.0
Published
A BABLR language enhancer that logs production execution
Downloads
90
Readme
@bablr/language_enhancer-debug-log
This langauge enhancer console.log
s productions as they are evaluated. It is highly useful when debugging.
Usage
import { parse } from '@bablr/vm';
import * as langauge from 'some-langauge';
import { logEnhancer } from '@bablr/hol-debug-log';
parse(
logEnhancer(language),
'sourceText',
spam`<Expression>`,
);