Skip to content

Conversation

jfhamlin
Copy link
Contributor

@jfhamlin jfhamlin commented Sep 7, 2025

Summary

  • Adds missing functions and implementations required by the clojure-test-suite
  • Fixes namespace and var handling to improve test compatibility
  • Updates stdlib core files to support test requirements

Changes

  • Add iterate implementation: New Iterate type and CreateIterate function for creating infinite lazy sequences by repeatedly applying a function
  • Add AllNamespaces function: New function that returns an ISeq of all namespaces (replaces direct Namespaces access)
  • Add VarLoadFile: New core var for load-file function
  • Register existing functions in imports: Added GetUseAOT and NewSet2 to platform-specific import registrations
  • Support .cljc file loading: Updated RT.Load to also look for .cljc files in addition to .glj files
  • Fix exception handling: Changed catch clauses from specific Throwable type to go/any for broader compatibility
  • Update generated imports: Regenerated platform-specific import registrations for all supported architectures

- Add missing iterate function implementation for lazy sequence generation
- Export AllNamespaces, VarLoadFile, and GetUseAOT functions for test suite compatibility
- Add NewSet2 constructor for creating sets with initial elements
- Fix namespace iteration to use AllNamespaces() instead of direct Namespaces access
- Update stdlib core files to support test suite requirements
- Regenerate platform-specific import registrations for all architectures
@jfhamlin jfhamlin merged commit fc3bb82 into main Sep 8, 2025
2 checks passed
@jfhamlin jfhamlin deleted the fix/test-suite branch September 8, 2025 06:04
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