Skip to content
Back to search

daScript

daslang - high-performance statically strong typed scripting language

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/GaijinEntertainment/daScript with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/GaijinEntertainment/daScript'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/gaijinentertainment--dascript/badge.svg)](/listings/gaijinentertainment--dascript)

HTML

<a href="/listings/gaijinentertainment--dascript"><img src="/api/listings/gaijinentertainment--dascript/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

git clone https://github.com/GaijinEntertainment/daScript.git daslang
cd daslang
git submodule update --init --recursive

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 121 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Daslang
  2. Daslang (formerly daScript) is a high-performance, statically typed programming language built for games and real-time applications.
  3. [![build](https://github.com/GaijinEntertainment/daScript/actions/workflows/build.yml/badge.svg)](https://github.com/GaijinEntertainment/daScript/actions/workflows/build.yml)
  4. [![wasm_build](https://github.com/GaijinEntertainment/daScript/actions/workflows/wasm_build.yml/badge.svg)](https://github.com/GaijinEntertainment/daScript/actions/workflows/wasm_build.yml)
  5. [Getting Started](GETTING_STARTED.md) * [Website](https://daslang.io/) * [Documentation](https://daslang.io/doc/) * [Blog](https://borisbat.github.io/dascf-blog) * [Try Online](https://gaijinentertainment.github.io/try-dascript/)
  6. ## Why Daslang?
  7. Daslang was created at [Gaijin Entertainment](https://gaijin.net/) to solve a real problem: **interop overhead** between scripting languages and C++ was eating the frame budget in their ECS game engine. Lua (via LuaJIT) and Squirrel both hit the same wall - marshaling data back and forth was too expensive.
  8. Daslang's data layout matches C++. There is no marshaling, no boxing, no conversion - script<->C++ calls are near-zero cost.
  9. **Core principles:**
  10. - **Iteration speed is king** - a full production game recompiles in ~5 seconds; hot reload is built in
  11. - **Explicit, not implicit** - no hidden type conversions, no silent allocations; `options log` shows exactly what the compiler produces
  12. - **99% safe, not 100%** - eliminates real-world C++ bugs pragmatically, without Rust-level restrictions
  13. - **If it gets slow, you can fix it** - manual `delete` to reduce GC pressure, AOT to C++ for native speed
  14. - **The language reflects the problem** - a compile-time macro system lets libraries reshape syntax to match the domain
  15. **Three execution tiers** (all planned from day one):
  16. fast tree-based **interpreter** -> **AOT** compilation to C++ (required for consoles) -> **JIT** via LLVM.
  17. Hybrid mode uses semantic hashing: unchanged functions stay AOT, changed ones fall back to the interpreter - ship a hotfix without a full rebuild.
  18. See the [design philosophy](doc/source/reference/design_philosophy.rst) for the full story.
  19. ## Installation
  20. ```sh
  21. git clone https://github.com/GaijinEntertainment/daScript.git daslang
  22. cd daslang
  23. git submodule update --init --recursive
  24. ```
  25. ## Building
  26. ```sh
  27. cmake -Bbuild -DCMAKE_BUILD_TYPE=Release
  28. cmake --build build --target daslang --config Release
  29. ```
  30. ## AOT usage
  31. AOT compiles daslang scripts to C++ for native performance. Generate the C++ stub, then compile and link it with your host application:
  32. ```sh
  33. ./bin/daslang -aot main.das aot_main.cpp
  34. clang++ host.cpp aot_main.cpp -Iinclude lib/liblibDaScript.a lib/liblibUriParser.a -o app
  35. ```
  36. For a complete walkthrough, see the [AOT tutorial](doc/source/reference/tutorials/integration_cpp_13_aot.rst) and [integration_cpp_13.cpp](tutorials/integration/cpp/integration_cpp_13.cpp).
  37. ## JIT usage
  38. To use JIT, you need the `LLVM 16.0.6` shared library at the path
  39. `lib/LLVM.dll`, this name is fixed because of [dynamic bindings](modules/dasLLVM/bindings/llvm_func.das).
  40. Once you have `LLVM.dll`, all you need is:
  41. ```sh
  42. ./bin/daslang -jit main.das
  43. ```
  44. For more details on how JIT works and what can be configured, see the
  45. [JIT Readme](modules/dasLLVM/README.md).
  46. ## Embedding into cmake
  47. To embed daslang into your CMake application, simply call `find_package(DAS)`.
  48. This will provide the targets `libDaScript`
  49. and `libDaScriptDyn`. For an example of using daslang as an external project
  50. (including usage for dynamic modules) see [this demo](https://github.com/aleksisch/dascript-demo).
  51. ## Package manager (daspkg)
  52. A built-in package manager in [`utils/daspkg/`](utils/daspkg/) handles installing, updating, and building daslang packages - both pure-daslang and C++ native modules.
  53. ```sh
  54. # Install a package from the index
  55. ./bin/daslang utils/daspkg/main.das -- install das-claude
  56. # Install from a git URL
  57. ./bin/daslang utils/daspkg/main.das -- install github.com/user/repo
  58. # Search the package index
  59. ./bin/daslang utils/daspkg/main.das -- search json
  60. ```
  61. See [`utils/daspkg/README.md`](utils/daspkg/README.md) for the full command reference and package authoring guide.
  62. ## VS Code extensions
  63. - [daScript](https://marketplace.visualstudio.com/items?itemName=eguskov.dascript) - syntax highlighting for `.das` files
  64. - [daScript language support](https://marketplace.visualstudio.com/items?itemName=profelis.dascript-plugin) - language server, linting, debugging, and snippets
  65. ## MCP server (AI tool integration)
  66. An [MCP](https://modelcontextprotocol.io/) server in [`utils/mcp/`](utils/mcp/) exposes 29 compiler-backed tools to AI coding assistants (Claude Code, etc.): compilation diagnostics, type inspection, go-to-definition, find-references, AST dump, AOT generation, expression evaluation, parse-aware grep, package management, and more.
  67. No extra build dependencies (stdio transport). See [`utils/mcp/README.md`](utils/mcp/README.md) for setup and configuration.
  68. ## Tree-sitter grammar
  69. A tree-sitter grammar for the gen2 syntax of daslang lives in [`tree-sitter-daslang/`](tree-sitter-daslang/). Every gen2 file that the compiler accepts parses without error, and CMake builds the grammar as a shared library.
  70. Use it for:
  71. - **Syntax highlighting** - `queries/highlights.scm` included, works in editors that support tree-sitter (Neovim, Helix, Zed)
  72. - **Code navigation** - `queries/tags.scm` lists the definitions and references for `tree-sitter tags`
  73. - **Parse-aware search** - via [ast-grep](https://ast-grep.github.io/) (`sg` 0.37.0 or later, before 0.50.0) for code search across `.das` files. A daslang pattern is literal code: metavariables such as `$A` do not match
  74. - **Editor extensions** - `utils/zed-daslang/` includes a Zed extension
  75. Build the grammar:
  76. ```sh
  77. cmake --build build --target tree_sitter_daslang
  78. ```
  79. ## License
  80. daslang is licensed under the [BSD 3-Clause License](LICENSE). Vendored
  81. third-party components keep their own licenses; each installs with the SDK
  82. beside the code that uses it (`*.LICENSE` files at the bundle root).

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.