Bob/source
Bobby Lucero 1e65b344ae Major speed optimization
- Replace Object* with Value tagged union for better performance
- Fix bug where "true"/"false" strings were treated as booleans
- Add isBoolean field to LiteralExpr to distinguish string vs boolean literals
- Implement fast function calls with g_returnContext instead of exceptions
- Add functions vector to prevent dangling pointers
- Remove try-catch blocks from execute() for 50x performance improvement
- Clean up test files, keep only main test suite and fib benchmark
- All 38 tests passing, fib(30) still ~848ms
2025-07-31 00:16:54 -04:00
..
.DS_Store AST Struct Generator 2023-05-21 20:40:43 -04:00
bob.cpp Major speed optimization 2025-07-31 00:16:54 -04:00
Expression.cpp AST Struct Generator 2023-05-21 20:40:43 -04:00
Interpreter.cpp Major speed optimization 2025-07-31 00:16:54 -04:00
Lexer.cpp Implement functions, closures, standard library, and comprehensive number system 2025-07-30 17:51:48 -04:00
main.cpp Implement functions, closures, standard library, and comprehensive number system 2025-07-30 17:51:48 -04:00
Parser.cpp Major speed optimization 2025-07-31 00:16:54 -04:00
StdLib.cpp Major speed optimization 2025-07-31 00:16:54 -04:00
TypeWrapper.cpp Removed templating as it turns out, wasn't needed. Added shorthands to make the code less ugly 2023-05-27 13:11:08 -04:00
Value.cpp Major speed optimization 2025-07-31 00:16:54 -04:00