📚 Reorganize CLAUDE.md: slim down from 916 to 395 lines with proper doc links
- Keep essential information within 500 lines (now 395 lines) - Maintain important syntax examples and development principles - Move detailed information to appropriate docs files: - Development practices → docs/guides/development-practices.md - Testing guide → docs/guides/testing-guide.md - Claude issues → docs/tools/claude-issues.md - Add proper links to all referenced documentation - Balance between minimal entry point and practical usability
This commit is contained in:
15
examples/llvm11_array_smoke.nyash
Normal file
15
examples/llvm11_array_smoke.nyash
Normal file
@ -0,0 +1,15 @@
|
||||
// LLVM 11.2 minimal smoke: ArrayBox new/set/get and console.log
|
||||
|
||||
static box Main {
|
||||
main() {
|
||||
console.log("LLVM 11.2 smoke start")
|
||||
|
||||
local arr, x
|
||||
arr = new ArrayBox()
|
||||
arr.set(0, 42)
|
||||
x = arr.get(0)
|
||||
|
||||
console.log("OK")
|
||||
return 0
|
||||
}
|
||||
}
|
||||
9
examples/llvm11_console_smoke.nyash
Normal file
9
examples/llvm11_console_smoke.nyash
Normal file
@ -0,0 +1,9 @@
|
||||
// LLVM 11.2 minimal smoke: console.log with string literal only
|
||||
|
||||
static box Main {
|
||||
main() {
|
||||
console.log("LLVM 11.2 smoke")
|
||||
return 0
|
||||
}
|
||||
}
|
||||
|
||||
14
examples/llvm11_core_smoke.nyash
Normal file
14
examples/llvm11_core_smoke.nyash
Normal file
@ -0,0 +1,14 @@
|
||||
// LLVM 11.2 minimal smoke: core ops only (Const/BinOp/Compare/Branch/Return)
|
||||
|
||||
static box Main {
|
||||
main() {
|
||||
local x, y
|
||||
x = 1
|
||||
y = 2
|
||||
if (x < y) {
|
||||
x = x + y
|
||||
}
|
||||
return x
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user