kspalaiologos / asmbf

The only true brainfuck-targetting assembler.
https://esolangs.org/wiki/Asm2bf
MIT License
109 stars 6 forks source link

Have bflabels and bfdata output key=>value maps #107

Closed kspalaiologos closed 4 years ago

kspalaiologos commented 4 years ago

It'd greatly help in debugging if bflabels and bfdata outputted which adresses correspond to which label names. For example:

@lab
  mov r2, %fun
  mov r1, %target
@target
  jmp %lab
@fun

... and the debugging output:

@lab: 1
@fun: 2
@target: 3

The same goes for bfdata.

kspalaiologos commented 4 years ago

Resolved by 3c0052c