📝 docs: Windows版ビルド手順を全ドキュメントに追記

🪟 新機能追加:
• cargo-xwinクロスコンパイル手順
• Windows実行ファイル (916KB) 生成方法
• Linux/WSL/Windows/WebAssembly 4プラットフォーム対応

📚 更新ドキュメント:
• CLAUDE.md - 開発ガイド更新
• README.md - 英語版に Windows クロスコンパイル
• README.ja.md - 日本語版に Windows 手順

🎯 完全マルチプラットフォーム対応達成!
Linux + Windows + WebAssembly のトリプル展開可能

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Moe Charm
2025-08-09 16:19:22 +09:00
parent 2c5fc374da
commit a4d32b3c57
3 changed files with 49 additions and 3 deletions

View File

@ -4,11 +4,29 @@ Nyashプログラミング言語開発に必要な情報をまとめたクイッ
## 🚀 クイックスタート ## 🚀 クイックスタート
### 🐧 Linux/WSL版
```bash ```bash
# ビルドと実行 # ビルドと実行
cd nyash-rust cargo build --release
cargo build ./target/release/nyash program.nyash
./target/debug/nyash program.nyash ```
### 🪟 Windows版 (NEW!)
```bash
# クロスコンパイルでWindows実行ファイル生成
cargo install cargo-xwin
cargo xwin build --target x86_64-pc-windows-msvc --release
# 生成された実行ファイル (916KB)
target/x86_64-pc-windows-msvc/release/nyash.exe
```
### 🌐 WebAssembly版
```bash
# ブラウザープレイグラウンド
cd projects/nyash-wasm
./build.sh
# nyash_playground.html をブラウザーで開く
``` ```
## 📚 ドキュメント構造 ## 📚 ドキュメント構造

View File

@ -225,6 +225,8 @@ cd projects/nyash-wasm
``` ```
### ネイティブ開発 ### ネイティブ開発
#### 🐧 Linux/WSL
```bash ```bash
# ネイティブバージョンビルド # ネイティブバージョンビルド
cargo build --release cargo build --release
@ -237,6 +239,18 @@ cargo build --release
./target/release/nyash app_dice_rpg.nyash ./target/release/nyash app_dice_rpg.nyash
``` ```
#### 🪟 Windows版 (クロスコンパイル)
```bash
# クロスコンパイラーインストール
cargo install cargo-xwin
# Windows実行ファイルビルド
cargo xwin build --target x86_64-pc-windows-msvc --release
# 生成された実行ファイル (916KB)
target/x86_64-pc-windows-msvc/release/nyash.exe
```
--- ---
## 🎯 **対象ユーザー** ## 🎯 **対象ユーザー**

View File

@ -225,6 +225,8 @@ cd projects/nyash-wasm
``` ```
### Native Development ### Native Development
#### Linux/WSL
```bash ```bash
# Build native version # Build native version
cargo build --release cargo build --release
@ -237,6 +239,18 @@ cargo build --release
./target/release/nyash app_dice_rpg.nyash ./target/release/nyash app_dice_rpg.nyash
``` ```
#### 🪟 Windows (Cross-compile)
```bash
# Install cross-compiler
cargo install cargo-xwin
# Build Windows executable
cargo xwin build --target x86_64-pc-windows-msvc --release
# Generated executable (916KB)
target/x86_64-pc-windows-msvc/release/nyash.exe
```
--- ---
## 🤝 **Contributing** ## 🤝 **Contributing**