hellige / dcpu

This is an emulator, assembler, and an implementation of the Forth programming language for Notch's DCPU-16. See the README for details.
Other
28 stars 6 forks source link

Implement bases for reading numbers. #3

Closed MostAwesomeDude closed 12 years ago

MostAwesomeDude commented 12 years ago

Works as expected, more or less.

hellige commented 12 years ago

Nice, thanks for implementing this! The only flaw is that you don't check to see whether the character is actually a valid digit in the given base, which leads to some strange problems. But that was an easy fix, which is now in master. You rule!