UNPKG

@carlk33/busy-beaver-blaze

Version:

A blazing-fast Busy Beaver Turing machine visualizer, written in Rust and compiled to WebAssembly

23 lines (22 loc) 718 B
/* tslint:disable */ /* eslint-disable */ export class Machine { free(): void; constructor(program: string); step(): boolean; count_ones(): number; is_halted(): boolean; count(early_stop_is_some: boolean, early_stop_number: bigint): bigint; state(): number; tape_index(): bigint; } export class SpaceByTimeMachine { free(): void; constructor(program: string, goal_x: number, goal_y: number, binning: boolean, skip: bigint); nth(n: bigint): boolean; step_for_secs(seconds: number, early_stop: bigint | null | undefined, loops_per_time_check: bigint): boolean; to_png(zero_color: string, one_color: string): Uint8Array; step_count(): bigint; count_ones(): number; is_halted(): boolean; }