GameScript is a lightweight scripting language + toolchain purpose-built for game development. From NPC behaviors to UI logic, GameScript delivers fast parsing, compact bytecode, and first-class tooling for a smooth developer experience.
| Area | Highlights |
|---|---|
| Language Core | Deterministic parser, small runtime footprint, familiar C-style syntax |
| Bytecode VM | Ahead-of-time compiler → portable, sandboxed bytecode executed by a high-performance VM |
| LSP | Full Language Server Protocol implementation: autocompletion, diagnostics, refactors |
| Editor Kits | VS Code & other IDE extensions with syntax highlighting, IntelliSense, snippets |
| Folder | Purpose |
|---|---|
GameScript.Language/ |
AST, lexer, parser, type checker, bytecode emitter |
GameScript.Bytecode/ |
Cross-platform VM + standard library |
GameScript.LanguageServer/ |
Language server executable |
GameScript.VisualStudio/ |
Visual Studio extension |
GameScript.Vscode/ |
VS Code extension |
| Package | Purpose |
|---|---|
GameScript.Bytecode |
Lightweight runtime/VM – create ScriptState, register opcode handlers, and run compiled bytecode. |
GameScript.Language |
Full tool‑chain: lexer, parser, AST visitors, indexers, semantic & type analysis, and bytecode compiler. |
- Comprehensive Guide – Full language, tooling, compilation, and runtime walkthrough.
# Clone
git clone https://github.com/Juiix/GameScript.git
cd GameScript
# Build the project
dotnet build -c ReleasePull requests are welcome! Please open an issue first to discuss major changes. See CONTRIBUTING for coding standards, branch workflow, and CLA details.
GameScript is licensed under the Apache License 2.0. See the LICENSE file for details.