docs: mark WASM/browser as paused/unmaintained; update README (en/ja), wasm guides banner; archive note in projects/nyash-wasm README
This commit is contained in:
14
README.ja.md
14
README.ja.md
@ -228,14 +228,12 @@ tools/smoke_aot_vs_vm.sh examples/aot_min_string_len.nyash
|
||||
- LLVMバックエンドは性能と型安全性のため、method_idベースのプラグイン呼び出しのみ対応。
|
||||
|
||||
|
||||
### 5. **WebAssembly** (ブラウザ用)
|
||||
```bash
|
||||
cargo build --release --features wasm-backend
|
||||
./target/release/nyash --compile-wasm program.nyash
|
||||
```
|
||||
- ブラウザで実行
|
||||
- デフォルトでクロスプラットフォーム
|
||||
- Webファースト開発
|
||||
### 5. **WebAssembly(ブラウザ)** — 現状: 一時停止 / 未整備
|
||||
WASM/ブラウザ経路は現在メンテ対象外です(CI未対象)。古いプレイグラウンド/ガイドは歴史的資料として残置しています。
|
||||
|
||||
- ソース(アーカイブ): `projects/nyash-wasm/`(ビルド保証なし)
|
||||
- 現在の主軸: VM(Rust)と LLVM(llvmlite ハーネス)
|
||||
- ローカルで試す場合は `projects/nyash-wasm/README.md` と `projects/nyash-wasm/build.sh` を参照(wasm-pack 必須、サポート無保証)。
|
||||
|
||||
---
|
||||
|
||||
|
||||
14
README.md
14
README.md
@ -273,14 +273,12 @@ tools/smoke_aot_vs_vm.sh examples/aot_min_string_len.nyash
|
||||
- The LLVM backend only supports method_id-based plugin calls for better performance and type safety.
|
||||
|
||||
|
||||
### 5. **WebAssembly** (Browser)
|
||||
```bash
|
||||
cargo build --release --features wasm-backend
|
||||
./target/release/nyash --compile-wasm program.nyash
|
||||
```
|
||||
- Run in browsers
|
||||
- Cross-platform by default
|
||||
- Web-first development
|
||||
### 5. **WebAssembly (Browser)** — Status: Paused / Unmaintained
|
||||
The WASM/browser path is currently not maintained and is not part of CI. The older playground and guides are kept for historical reference only.
|
||||
|
||||
- Source (archived): `projects/nyash-wasm/` (build not guaranteed)
|
||||
- Current focus: VM (Rust) and LLVM (llvmlite harness)
|
||||
- If you experiment locally, see the project README and `projects/nyash-wasm/build.sh` (wasm-pack required). No support guarantees.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
# 🌐 Nyash WebAssembly ブラウザデビュー計画
|
||||
# 🌐 Nyash WebAssembly ブラウザデビュー計画(アーカイブ)
|
||||
|
||||
注意: 本ドキュメントはアーカイブ目的で残置しています。WASM/ブラウザ経路は現在メンテ停止中で、記載の計画は最新のNyashとは一致しない可能性があります。
|
||||
|
||||
## 🎯 なぜこれが天才的か
|
||||
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
# 🚀 Nyash WASM クイックスタート実装
|
||||
# 🚀 Nyash WASM クイックスタート実装(注意: 現状メンテ外)
|
||||
|
||||
このガイドは歴史的資料です。WASM/ブラウザ経路は現在メンテ対象外で、記載手順は最新のNyashと一致しない場合があります。実験する場合は `projects/nyash-wasm/` を参考に自己責任でお試しください。
|
||||
|
||||
## Step 1: Cargo.toml修正
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
# 🌐 Nyash WebAssembly Project
|
||||
# 🌐 Nyash WebAssembly Project (Archived / Unmaintained)
|
||||
|
||||
Nyash programming language running in the browser via WebAssembly!
|
||||
Status: This directory contains an older WASM/browser prototype. It is not part of CI and may not build with current Nyash. Instructions below are historical and provided as-is.
|
||||
|
||||
## 🚀 Quick Start
|
||||
## 🚀 Quick Start (experimental)
|
||||
|
||||
```bash
|
||||
# Install wasm-pack (if not already installed)
|
||||
@ -12,7 +12,7 @@ cargo install wasm-pack
|
||||
cd /mnt/c/git/nyash
|
||||
wasm-pack build --target web --out-dir projects/nyash-wasm/pkg
|
||||
|
||||
# Start local server
|
||||
# Start local server (example)
|
||||
cd projects/nyash-wasm
|
||||
python3 -m http.server 8000
|
||||
|
||||
@ -20,7 +20,7 @@ python3 -m http.server 8000
|
||||
# Navigate to: http://localhost:8000/nyash_playground.html
|
||||
```
|
||||
|
||||
## 🎯 Features
|
||||
## 🎯 Features (historical)
|
||||
|
||||
- **🐱 Full Nyash Language** - Complete interpreter running in browser
|
||||
- **📦 ConsoleBox** - Browser console integration
|
||||
@ -41,7 +41,7 @@ projects/nyash-wasm/
|
||||
└── ...
|
||||
```
|
||||
|
||||
## 🎨 Example Code
|
||||
## 🎨 Example Code (historical)
|
||||
|
||||
```nyash
|
||||
// Browser console output
|
||||
|
||||
Reference in New Issue
Block a user