bm
bm copied to clipboard
Simple compiler ecosystem
introduced in #376
On some platforms (*cough old-ass Solaris cough*), the C compiler might default to generating 32-bit code, which obviously doesn't work for bm. Ideally, we would be able to do something...
Most of the examples mentioned [here](https://github.com/tsoding/bm#building-and-running-examples) in the README do not exist in the `examples/` folder any more so it's not possible to run them. Looks like they've been moved...
Dear BMers Imagine an extension of the Fibonacci implementation, where we would pass an argument N (numeric) "into" it. How would we support it ? One approach is to have...
introduced in #354
introduced in #354
introduced in #354
introduced in #354
introduced in #354
We have 64 instructions and the only ones that accept operands are `push`, `dup`, `swap`, `jmp`, `jmp_if`, `call`, `native`. We can make them accept their operands only via the stack....