[WIP] Feature/standalone executable#2095
Open
aleksisch wants to merge 7 commits intoGaijinEntertainment:masterfrom
Open
[WIP] Feature/standalone executable#2095aleksisch wants to merge 7 commits intoGaijinEntertainment:masterfrom
aleksisch wants to merge 7 commits intoGaijinEntertainment:masterfrom
Conversation
b1392a9 to
07fb504
Compare
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.
07fb504 to
da0ccc5
Compare
With this commit we start support of standalone das executables. Das file can be compiled to standalone binary using LLVM backend. Although it has some limits: - All type related nodes cannot be translated - fmt cannot be translated (yet?) as it requires dynamic nodes (addInterop)
Now we can create executable even if some part of it can't be translated into binary. It can be needed if we beleive this part is not reachable. If it turns out this part is reachable we will fail in runtime in function `jit_trap`. By default this option disabled and not exposed to CodeOfPolicies.
da0ccc5 to
f612824
Compare
Now we can set path to output file (which includes path and filename with no extension) in JIT. It will be used to create binary, dll and object file.
Add simple test to ensure executable work. [skip ci]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.