Skip to content

v1.3.0

Compare
Choose a tag to compare
@d5 d5 released this 03 Feb 07:23
· 151 commits to master since this release
d90f286

Changes

  • Major changes in modules
    • Modules need to export values explicitly.
    • Fixed a bug where module-global variables were not accessible from other module functions.
    • Improvements in module loading speed (no separate VM spawned)
    • Removed Script.AddModule. Use Script.SetUserModuleLoader instead.
    • These are breaking changes, but, I decided to keep v1. I apologize if you are affected.
  • Fixed an issue with recursive local-scope functions (#56)
  • Fixed len() builtin function bug
  • Fixed array/string slicing expression bug

Changelog

c57a7f8 Fix a bug where len() builtin does not take immutable array
9c21c8a Fix a bug where user modules couldn't resolve builtin functions
5713eb6 Fix a slicing expression bug: allow low-index == len(a)
eda0495 Fix several module-related issues
d90f286 Merge pull request #74 from d5/iarrlen