fix(lic): workspace import members parse + multiline def params#69
Open
cap-jmk-real wants to merge 3 commits into
Open
fix(lic): workspace import members parse + multiline def params#69cap-jmk-real wants to merge 3 commits into
cap-jmk-real wants to merge 3 commits into
Conversation
parse_workspace_members now reads the array after 'members =', not the [workspace] section header, so import physics.* resolves to packages/*. Parser accepts newlines and indentation inside def(...) parameter lists. Composable import_physics_runtime runs rigid_integrate smoke; relativity package uses var float for velocity forwarded into lorentz_gamma.
Enables packages/li-physics-runtime and other libs that use without a value in -> unit bodies (e.g. early exit in physics_rigid_substep).
Avoid int/float division in physics_step via substep_inv; use var world params for borrowck. Full lic build of li-physics-runtime still segfaults in codegen (while + struct field updates) — tracked for follow-up; CI composable rigid OK.
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.
Summary
Fixes
import physics.rigidresolving tostd/physics/rigid.liinstead ofpackages/li-physics-rigid(workspacemembersparser matched[workspace]). Adds multilinedefparameter parsing and composable rigid integrate smoke.Agent continuation
docs/release-notes/2026-05-19-workspace-import-and-multiline-def.md.physics.runtimestep smoke; mirror sync for physics packages.li-physics-*org mirrors (lic [Ecosystem gap] Publish li-std-physics-* org mirrors (12 packages) #50).Breaking
N/A — matches documented workspace-first imports.
Release note:
docs/release-notes/2026-05-19-workspace-import-and-multiline-def.md