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:
25
tests/development/test_null_simple_main.nyash
Normal file
25
tests/development/test_null_simple_main.nyash
Normal file
@ -0,0 +1,25 @@
|
||||
// 🧪 Null Literal Support Test (Simplified)
|
||||
|
||||
static box Main {
|
||||
init { console }
|
||||
|
||||
main() {
|
||||
me.console = new ConsoleBox()
|
||||
me.console.log("🧪 Testing Null Literal Support (Simplified)")
|
||||
|
||||
// Test 1: Basic null assignment and display
|
||||
local null_value = null
|
||||
me.console.log("Null value: " + null_value)
|
||||
|
||||
// Test 2: Null in string concatenation
|
||||
local concat_test = "Result: " + null_value + " (end)"
|
||||
me.console.log("Concatenation test: " + concat_test)
|
||||
|
||||
// Test 3: Non-null vs null
|
||||
local non_null_value = "not null"
|
||||
me.console.log("Non-null value: " + non_null_value)
|
||||
|
||||
me.console.log("✅ Null literal basic functionality works!")
|
||||
return "Null literal test complete"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user