Skip to content

Commit

Permalink
fix, new test.asm , basic debugger
Browse files Browse the repository at this point in the history
new test for regression
basic debugger (option -X) see main readme.md
  • Loading branch information
redcrab2016 authored Mar 15, 2018
1 parent 3ec58ae commit 27b29bc
Show file tree
Hide file tree
Showing 21 changed files with 68,107 additions and 32,697 deletions.
Binary file modified bf.jar
Binary file not shown.
14 changes: 10 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ It will show the usage
-Z, --enable-optimize-compile (default) optimzed generated bf result
-r, --disable-optimize-run do not optimize bf run
-R, --enable-optimize-run (default) optimze bf run
-X, --debug run in debug

To launch a BF file named sample.bf

Expand Down Expand Up @@ -100,11 +100,17 @@ If you have compilation error you may investigate
- firstly in **sample.pc.asm**
- secondly in **sample.js**

BF debugger is not yet ready :(
BF debugger is not yet fully featured

But there is some online BF debuggers
You can execute step by step your BF program

For instance [this one](https://www.iamcal.com/misc/bf_debug/) is a good one.
java -jar bf.jar -X sample.deb.bf

It is advised to use the debugger with option -i and -o to use file for input/output

If current debugger is not efficient enough you may try some online BF debuggers

For instance [this one](https://www.iamcal.com/misc/bf_debug/) is nicely designed.

# BF native code and assembler

Expand Down
27,041 changes: 13,581 additions & 13,460 deletions samples/mandel/mandel.bf

Large diffs are not rendered by default.

Loading

0 comments on commit 27b29bc

Please sign in to comment.