feat: Prepare for code modularization and cleanup
- Archive old documentation and test files to `docs/archive/` and `local_tests/`. - Remove various temporary and old files from the project root. - Add `nekocode-rust` analysis tool and its output files (`nekocode/`, `.nekocode_sessions/`, `analysis.json`). - Minor updates to `apps/chip8_nyash/chip8_emulator.nyash` and `local_tests` files. This commit cleans up the repository and sets the stage for further code modularization efforts, particularly in the `src/interpreter` and `src/parser` modules, based on recent analysis.
This commit is contained in:
21
local_tests/test_http_server_real.nyash
Normal file
21
local_tests/test_http_server_real.nyash
Normal file
@ -0,0 +1,21 @@
|
||||
// Test HTTPServer listen functionality
|
||||
static box Main {
|
||||
init { server, console }
|
||||
|
||||
main() {
|
||||
me.server = new HTTPServerBox()
|
||||
me.console = new ConsoleBox()
|
||||
|
||||
// Test bind and listen operations
|
||||
local bindResult = me.server.bind("127.0.0.1", 8080)
|
||||
me.console.log("Bind result:")
|
||||
print(bindResult)
|
||||
|
||||
local listenResult = me.server.listen(10)
|
||||
me.console.log("Listen result:")
|
||||
print(listenResult)
|
||||
|
||||
// Should return true if listen actually works
|
||||
return listenResult
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user