|
|
b7975c80db
|
macro(if/match normalize): implement If-expression normalization for common statement contexts (Assignment/Return/Print); add golden (if-assign) and JSON builder helpers (print, return)
|
2025-09-20 01:22:55 +09:00 |
|
|
|
9999c7c456
|
llvm: add LoopForm PHI hygiene smoke (no empty PHI); docs: MIR hints (zero-cost); macros: scaffold If/Match normalize (identity)
|
2025-09-20 01:06:54 +09:00 |
|
|
|
b7e5b1e39c
|
macro(loopform mvp-2): gate normalization to <=2 updated vars and no break/continue; add loop_two_vars golden and selfhost preexpand smoke
|
2025-09-20 00:40:05 +09:00 |
|
|
|
65227cb56f
|
loopform: add loop_simple golden and test; prepare while normalization pathway via LoopNormalize + JsonBuilder
|
2025-09-19 23:18:07 +09:00 |
|
|
|
9a0fe71215
|
docs: prefer Nyash runner route (self-hosting); switch to NYASH_MACRO_PATHS; deprecations noted; update smokes to new envs
|
2025-09-19 22:59:29 +09:00 |
|
|
|
9d40e9137a
|
macro(ast-json): add Loop/Break/Continue to AST JSON v0; add loop_normalize_macro (MVP identity) and loopform smoke; docs update
|
2025-09-19 22:47:12 +09:00 |
|
|
|
da32455afc
|
freeze: macro platform complete; default ON with profiles; env consolidation; docs + smokes\n\n- Profiles: --profile {lite|dev|ci|strict} (dev-like default for macros)\n- Macro paths: prefer NYASH_MACRO_PATHS (legacy envs deprecated with warnings)\n- Selfhost pre-expand: auto mode, PyVM-only, add smokes (array/map)\n- Docs: user-macros updated; new macro-profiles guide; AGENTS freeze note; CURRENT_TASK freeze\n- Compat: non-breaking; legacy envs print deprecation notices\n
|
2025-09-19 22:27:59 +09:00 |
|
|
|
5bb7f67c01
|
perf(typebox): reduce clones with Arc<str> for MethodSignature.name and TypeBox.methods keys; API kept stable. tools: add all-cases empty-PHI smoke runner. parser(box): extract birth_once cycle validation into helper
|
2025-09-19 12:13:43 +09:00 |
|
|
|
ef1f5206da
|
tools: add LLVM IR empty-PHI smoke checker; ensures every 'phi i64' has incoming list; used with NYASH_LLVM_DUMP_IR
|
2025-09-19 12:01:13 +09:00 |
|
|
|
5e818eeb7e
|
stage3: unify to cleanup; MIR return-defer; docs+smokes updated; LLVM(harness): finalize_phis ownership, ret.py simplified, uses-predeclare; cleanup return override green; method-postfix cleanup return WIP (PHI head)
|
2025-09-19 02:07:38 +09:00 |
|
|
|
951a050592
|
selfhost: introduce using-based imports for compiler/parser/tools; keep includes temporarily. llvm: add PHI wiring JSON trace + unit/integration tests; fast test suite extended. runner: split selfhost helpers, small cleanups.
|
2025-09-18 13:35:38 +09:00 |
|
|
|
3fe908eb0d
|
docs/runtime: externcall + println normalization; NyRT silent result flag; PyVM console warn/error/trace routing\nselfhost(M2): add MirEmitterBox (Return(Int)->const+ret) and --emit-mir switch; initial selfhost smoke\nrunner: child args/env hardening for selfhost (NYASH_NY_COMPILER_CHILD_ARGS under --; NYASH_JSON_ONLY=1, NYASH_VM_USE_PY=1, NYASH_DISABLE_PLUGINS=1); VM path strips using lines when NYASH_ENABLE_USING=1\nmeta: clarify PyVM/llvmlite as primary (vm/interpreter legacy OFF) in CURRENT_TASK.md; README links to externcall docs
|
2025-09-18 06:35:49 +09:00 |
|