nixpulvis / brainfuck

A simple brainfuck interpreter in Rust.
http://nixpulvis.com/brainfuck
23 stars 3 forks source link

Abstract Syntax List #14

Closed nixpulvis closed 8 years ago

nixpulvis commented 8 years ago

Don't rely on the raw source code for the operation of the program directly. See #13

Fixes #6

nixpulvis commented 8 years ago

Also fixes the complex smoke test.

offlinemark commented 8 years ago

drafted up a pseudocode-1 pass parse on paper, will code up later. pretty simple, just moves some of the stack operations/bracket index resolutions seen in bracket_map into the main parse loop

nixpulvis commented 8 years ago

Yea I was thinking something like that would work.

nixpulvis commented 8 years ago

@mossberg feel free to commit directly to this branch.

nixpulvis commented 8 years ago

@mossberg I'm merging this cause I need it. Just make the patch on master.