Skip to content

[pull] master from GaijinEntertainment:master#778

Merged
pull[bot] merged 8 commits into
forksnd:masterfrom
GaijinEntertainment:master
Feb 27, 2026
Merged

[pull] master from GaijinEntertainment:master#778
pull[bot] merged 8 commits into
forksnd:masterfrom
GaijinEntertainment:master

Conversation

@pull

@pull pull Bot commented Feb 27, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

borisbat and others added 8 commits February 27, 2026 04:43
…sion scope

1. When inferring `var x = null`, varT->firstType is null since null
   has no pointee type. The const propagation path dereferenced
   firstType without checking, causing a crash.

2. Move with-expression scope push from preVisit to preVisitWithBody
   so that `with(foo) { bar }` only makes foo active for bar,
   not for the evaluation of foo itself (prevents folding on itself).

Fixes issues from #2169
We can store all type info statically.
AOT can be taken as a reference.

This commit does it for `string_builder` and interop functions.

In future all type info should be stored statically.
It was marked public by an accident and should be private.
Before this commit vscode extension didn't work with dasBinder,
if dll was not found, now it works.
Move JIT related code out of `simulate_nodes`. Final goal is
to make JIT independent from `simulate` part of daScript library.
This will let us create small in size executables.
With this commit we start support of standalone das executables.

Das file can be compiled to standalone binary using LLVM backend.
Note that we don't support yet:
- global variables
- some type related nodes, such as typeinfo

For such cases `strict_mode` was introduced. You can disable it
and hope that your code won't reach these instructions in runtime,
otherwise `jit_trap` will be called if possible (if it's
variable we can't do anything).

By default this option enabled and not exposed to CodeOfPolicies.
@pull pull Bot locked and limited conversation to collaborators Feb 27, 2026
@pull pull Bot added the ⤵️ pull label Feb 27, 2026
@pull pull Bot merged commit aff31a2 into forksnd:master Feb 27, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants