This langauge enhancer console.log
s productions as they are evaluated. It is highly useful when debugging.
import { parse } from '@bablr/vm';
import * as langauge from 'some-langauge';
import { logEnhancer } from '@bablr/hol-debug-log';
parse(
logEnhancer(language),
'sourceText',
spam`<Expression>`,
);