theandrew168 / derzforth

Bare-metal Forth implementation for RISC-V
MIT License
42 stars 5 forks source link

Ignore single-line comments in assembly. See #4 #9

Closed aw closed 3 years ago

aw commented 3 years ago

I'm not sure if anything needs to be added to this, but essentially it adds functionality (in assembly) to skip single-line comments.

theandrew168 commented 3 years ago

Looks great! Tested this myself and all seems to be working as expected. I've got issue #2 open to come up with some way to test the interpreter. I figure that using something like expect could allow pytest to get in there and verify basic behavior. I'll probably look into that here soon.

Fixes #4