Commit Graph

6 Commits

Author SHA1 Message Date
79a06a0be8 feat: add async I/O, double type, file I/O, and break/continue to RC interpreter
Implement multi-threaded async file and socket operations with pthread-based worker pool, add double floating-point type with conversion and arithmetic functions, introduce file I/O system with fopen/fclose/fread/fwrite/fgets/fputs, and add break/continue control flow statements. Update Makefile with new test and example targets, extend README and TUTORIAL.md with comprehensive documentation and usage examples, and include async_demo.rc example and async_io_test.rc test suite.
2025-11-23 13:30:46 +00:00
03bca46d88 fix: prevent infinite loop in session renewal by skipping block on break/continue/return 2025-11-23 12:53:36 +00:00
eb3d29ac8d chore: add increment/decrement operators and test suite to parser and tokenizer
Implement prefix and postfix ++/-- operators in the tokenizer (Inc/Dec token types) and parser (factor/unary functions) with correct pre/post semantics. Add increment_decrement_test.rc covering all four operator forms. Update Makefile to include the new test file in TESTS, add run-increment-decrement-test target, and fix .PHONY and TARGET dependency on dirs.
2025-11-22 23:17:01 +00:00
5ceaf35d5a chore: rename example files from generic names to kebab-case http variants in Makefile and README 2025-11-22 21:30:55 +00:00
dc91958deb chore: restructure project into src/tests/examples directories with modular build system 2025-11-22 21:22:43 +00:00
586a171d86 chore: add Makefile, main2.c interpreter, and sample HTTP server C files 2025-11-22 15:53:39 +00:00