Join us on Discord!
You can help CodeWalrus stay online by donating here.

[z80 asm] BrainVM

Started by Snektron, January 31, 2015, 08:11:12 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Snektron

That's weird :( but i don't really know what to do about that  ???
  • Calculators owned: TI-84+
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


岩倉 澪

The difficulty of bf is mostly superficial imo.
The syntax is obviously very unreadable and the primitives are extremely basic so one has to learn many idioms and patterns to construct normal programming constructs, and only having bytes to work with makes it very challenging to do operations of much use at all unless you emulate larger word sizes by writing multibyte routines.
Once you learn the tricks and build up some useful routines, if you structure the code intelligently with whitespace and make good use of comments, programming in it becomes very doable.

Dream of Omnimaga

Would it be possible to just use Find/replace in Notepad to change every instruction to something closer to English or at least Z80 ASM, then once you are done coding, change them back to BF instructions? Or is that out of the question?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

岩倉 澪

Changing the names of the instructions doesn't really help too much, but it is very reasonable to use labels and variables and copy pasta routines to replace them manually (or automated) similiar to what an assembler does

Powered by EzPortal