Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 372 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 372 Bytes

@bablr/language_enhancer-debug-log

This langauge enhancer console.logs 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>`,
);