- 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.
17 lines
458 B
Plaintext
17 lines
458 B
Plaintext
# Phase 9.7 ExternCall Demo - Modified for explicit console creation
|
|
# Test console.log and canvas operations
|
|
|
|
static box Main {
|
|
init { result, console }
|
|
|
|
main() {
|
|
# Create console instance for testing
|
|
me.console = new ConsoleBox()
|
|
|
|
# Test console.log external call
|
|
me.console.log("Hello from Nyash via ExternCall!")
|
|
|
|
me.result = "ExternCall demo completed"
|
|
return me.result
|
|
}
|
|
} |