Skip to content

Add version support to tycl install and install-from command#4

Merged
tamurashingo merged 3 commits into
mainfrom
feature/versions
Apr 22, 2026
Merged

Add version support to tycl install and install-from command#4
tamurashingo merged 3 commits into
mainfrom
feature/versions

Conversation

@tamurashingo

Copy link
Copy Markdown
Owner

Summary

  • Add version support to tycl install — resolves latest version from meta.sexp when version is omitted, or downloads a specific version (tycl install <pkg> <version>)
  • Add tycl install-from <file.asd> command to install type declarations for all :depends-on dependencies in an .asd file, respecting (:version "pkg" "ver") constraints
  • Update README with documentation for tycl install version support, tycl install-from, and accessor type inference

Support `tycl install <package> <version>` to download versioned
declaration files. When version is omitted, fetch meta.sexp from
the repository to resolve the latest version. Falls back to the
unversioned file if meta.sexp is not available.
Parse :depends-on entries from .asd files and download declaration files
for each dependency. Supports versioned deps via (:version "pkg" "ver")
syntax. Handles package-error when reading .asd files that reference
packages not yet loaded.
@tamurashingo tamurashingo merged commit b25217b into main Apr 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant