You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
301 B
16 lines
301 B
import { run } from './bf';
|
|
import { dump, log, profile } from './debug';
|
|
import { fromString, toString } from './string';
|
|
|
|
log();
|
|
profile();
|
|
|
|
const program = run
|
|
._(fromString('+'))
|
|
._(fromString(''));
|
|
|
|
try {
|
|
console.log(program.stringify(), ' -> ', toString(program));
|
|
} finally {
|
|
dump();
|
|
}
|
|
|