catseye / Befunge-93

MIRROR of https://codeberg.org/catseye/Befunge-93 : The NEW reference distribution for Befunge-93!
https://catseye.tc/node/Befunge-93
Other
98 stars 9 forks source link

Fixes to bef2c & befprof #3

Closed serprex closed 6 years ago

serprex commented 8 years ago

Double free due to double fclose Trampoline at leftmost/topmost edges Don't print \0 into sourcecode Use %% instead of %c with '%' being passed in Avoid freeing fo/fi on failure to open

I stopped into IRC a few years ago & said hello. Well, hello again. Been getting back into Befunge by writing a program that JITs Befunge code into Python bytecode (using the Python stack itself as the Befunge stack, wee segfaulting CPython's not-memory-safe bytecode)

cpressey commented 8 years ago

Well, hello yourself! (Your nick does sound vaguely familiar...) Sorry I haven't had time to look at this PR yet, but I do have a sizeable backlog of Befunge-related stuff that I'm planning to plow through sometime this year, and fear not, I will address this as part of it. Thanks!

serprex commented 6 years ago

Thanks!

np

cpressey commented 6 years ago

The good news is that, even though this did not get done 2 years ago, or last year, there is a very good chance it will get done this year, because Befunge turns 25 years old this year, and this is what my TODO list looks like as of today.

cpressey commented 6 years ago

@serprex Looks good to me. I'm going to merge this into bef2c-befprof-fixes (the new feature branch I created for this) and it will eventually make it down into develop-2018-1 (development branch for releasing a new version this year). Ideally I'd like to test all the changes on a couple of systems (AmigaDOS 1.3, MS-DOS, ...) before releasing.

I assume you'e OK with the current license, etc? I'll add your name as a contributor (in the source code I guess, since this distribution doesn't seem to have a contributors list anywhere.)

serprex commented 6 years ago

OK with current license & etc