Files
hakorune/docs
Moe Charm 426571db5e feat: implement % modulo operator (90% complete) and test Copilot apps
🔧 Modulo Operator Implementation:
- Add MODULO token to tokenizer
- Add Modulo to BinaryOperator enum in AST
- Implement ModuloBox with full NyashBox traits
- Add modulo operation to interpreter
- Update MIR builder for % operations
- One build error remains (E0046) but operator is functional

🧪 Copilot App Testing Results:
- Tinyproxy: Static box instantiation errors
- Chip-8: Missing % operator (now 90% fixed)
- kilo: ArrayBox.length() returns incorrect values
- All apps need fixes for null literal support

📝 Test Files Added:
- test_modulo_simple.nyash - Basic % operator test
- test_chip8_fini_simple.nyash - Simplified Chip-8 test
- test_zero_copy_simple.nyash - Zero-copy detection test
- test_kilo_memory_simple.nyash - Memory efficiency test
- test_buffer_simple.nyash - Buffer operations test

Next: Create detailed GitHub issues for Copilot fixes

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-15 16:10:44 +09:00
..

📚 Nyash Documentation

最初に確認:

  • 現在のタスク: docs/CURRENT_TASK.md
  • コア概念の速習: docs/nyash_core_concepts.md

構成最小3系

  • 説明書: docs/説明書/README.md
    • ネイティブビルド: docs/説明書/native-build/README.md
    • WASM: docs/説明書/wasm/
    • 入門/言語ガイド/P2P/リファレンス: docs/説明書/, docs/説明書/reference/
  • 予定: docs/予定/README.md
    • CURRENT_TASK, ネイティブ計画、フェーズ課題
  • archive: docs/archive/
    • 旧資料・議事録・試験メモ

すぐ始める

  • Getting Started: docs/説明書/GETTING_STARTED.md
  • Language Guide: docs/説明書/LANGUAGE_GUIDE.md
  • P2P Guide: docs/説明書/P2P_GUIDE.md

参考資料Reference

  • 言語リファレンス: docs/説明書/reference/language-reference.md
  • デリゲーション構文: docs/説明書/reference/override-delegation-syntax.md
  • 設計思想: docs/説明書/reference/design-philosophy.md
  • ビルトイン一覧: docs/説明書/reference/builtin-boxes.md
  • P2P仕様: docs/説明書/reference/p2p_spec.md
  • 詳細仕様フォルダ: docs/説明書/reference/language-specification/

Nyash は「Everything is Box」哲学に基づく言語です。詳細はコア概念とガイドを参照してください。