tsoding / bm

Simple compiler ecosystem
MIT License
166 stars 16 forks source link

bdb : Fix startup failures #466

Closed herrhotzenplotz closed 3 years ago

herrhotzenplotz commented 3 years ago

See notes in commit message.

As bdb seems a little bit broken and no issues exist/are linked for the actual issues, I removed a couple of things that are outdated (e.g. the symtab) and turned them into a TODO (snitch-ing required).

This makes bdb at least usable and not fail at startup, trying to find the symbol table. Also, I stole some code from bme to load the native write implementation, such that the virtual machine throws an error when stepping into native write instruction.

Might fix #100 (not sure whether we can remove it)

rexim commented 3 years ago

@herrhotzenplotz looks good to me! :+1: Thank you for your contribution!