theandrew168 / derzforth

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

Single-line comment support #4

Closed theandrew168 closed 3 years ago

theandrew168 commented 3 years ago

Currently, the Forth interpreter doesn't properly ignore comments (both backslash line comments and paren-range comments). Ignoring them shouldn't be too hard to do directly in assembly. In the future, comments could possibly be implemented in Forth itself (if that'd even be necessary).