Skip to content

bablr-lang/language_enhancer-debug-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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>`,
);

About

A BABLR language enhancer that logs production execution

Resources

License

Stars

Watchers

Forks

Packages

No packages published