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:
Moe Charm
2025-08-16 01:30:39 +09:00
parent 87d776f3e7
commit ef7a0de3b0
200 changed files with 229443 additions and 26533 deletions

View File

@ -0,0 +1,29 @@
// Debug the listen issue
static box Main {
main() {
print("🔍 Debugging socket listen issue...")
local socket
socket = new SocketBox()
local bindOk
bindOk = socket.bind("127.0.0.1", 8080)
print("Bind result: " + bindOk.toString())
// Test server state after bind
local isServerResult
isServerResult = socket.isServer()
print("Is server after bind: " + isServerResult.toString())
local listenOk
listenOk = socket.listen(10)
print("Listen result: " + listenOk.toString())
// Close
local closeOk
closeOk = socket.close()
print("Close result: " + closeOk.toString())
return true
}
}