Skip to content

Commit

Permalink
remove more references to padProgram
Browse files Browse the repository at this point in the history
  • Loading branch information
mousetail committed Mar 13, 2024
1 parent acf579a commit 740612b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/scripts/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { step, ProgramState, padProgram } from './interpreter';
import { step, ProgramState } from './interpreter';
import { examples } from './examples';
import { start_code_info_event_listeners } from './update_code_info';
import { PathDrawer } from './gen_svg';
Expand Down Expand Up @@ -195,8 +195,6 @@ function reset() {
const input_queue = input_format === 'chars' ? [...initial_input.value].map(i => i.charCodeAt(0)) : initial_input.value.split(' ').map(i => Number.parseFloat(i));
input_queue_div.textContent = input_queue.join(' ');

padProgram(program);

program_state = {
stacks: [{ contents: initial_stack_values, register: undefined }],
program: program,
Expand Down

0 comments on commit 740612b

Please sign in to comment.