0.6.3 scripts: daslang fixed-array rework (tFixedArray)#45
Merged
Conversation
daslang 0.6.3 (GaijinEntertainment/daScript#3095) replaces TypeDecl's flattened dim vector with structural Type::tFixedArray chains (element in firstType, one size per node in fixedDim). New server/0.6.3 scripts walk the chain in parse_typedecl; the client model stays flat (leaf baseType + dim list + tdk1 = one-level peel), so completion.ts is untouched. Registered in VERSION_SCRIPT_DIRS; 0.6.1/0.6.2 binaries keep the 0.6.1 scripts. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
93cda92 to
db454ef
Compare
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.
Reworked for the multiversion layout (4776095): one commit on top of
v2adding aserver/0.6.3/scripts folder and itsVERSION_SCRIPT_DIRSentry.daslang 0.6.3 (GaijinEntertainment/daScript#3095) replaces
TypeDecl's flatteneddimvector with structuralType::tFixedArraychains (element infirstType, one size per node infixedDim). The 0.6.3 scripts walk the chain inparse_typedecl; the client-facing model stays flat (leafbaseType+dimlist +tdk1= one-level peel), socompletion.tsneeds no changes. Binaries reporting 0.6.1/0.6.2 keep the0.6.1scripts; the new entry only captures>= 0.6.3.Verified end-to-end against daslang 0.6.3 master:
validate_file.dason a file withtypedef M4 = float[4],M4[10]andint[3][4]fields produces— identical shape to the pre-rework output, peeling one level per index.
tsc -bclean; packaged as 1.3.6 and validated interactively in VSCode.🤖 Generated with Claude Code