Commit Graph

5 Commits

Author SHA1 Message Date
06d110e28b WIP : About to rip out the old parser and solver, can't get things working the way I expect and the old code is in the way 2024-05-07 18:06:01 -04:00
921a9dd8bd - Added string strip methods lstrip and rstrip
- Fixed the tokenizer to chomp whitespace from left and right of tokens
- Fixed the tokenizer so it returns reserved symbols not just constants and expressions
- Added some tests for the basic tokenizer and parser
- Started working on structures to allow the basic interpreter to store lines in memory
2024-05-04 22:08:20 -04:00
0d1ecd9bd3 - All tests passing
- Updated README and image
- Added itoa to stdlib
- Implemented modulus math for bcc which has none in the stdlib
- Updated the build scripts to work on Ubuntu 22
- Added bochsrc with some useful overrides (new bochs bios in ubuntu is broken, use the legacy)
- Made most of stdlib compile and run under GNU C for testing
- Improved the tokenizer so it will return tokens of more than one character
- Moved the basic parser from using void pointers to store values to using basic_value unions to represent possible types
- Added tests for the basic tokenizer
2024-05-04 11:31:14 -04:00
7a974102b8 Fix failing tests for stringlib 2016-03-27 13:23:46 -07:00
208c831c79 Refactored the C files out into libraries, started work on the BASIC repl (it can sorta do math!) 2015-01-25 22:05:28 -08:00