Skip to content

0.13.0#72

Draft
Sainan wants to merge 6 commits intomainfrom
0.13.0
Draft

0.13.0#72
Sainan wants to merge 6 commits intomainfrom
0.13.0

Conversation

@Sainan
Copy link
Copy Markdown
Member

@Sainan Sainan commented Apr 13, 2026

  • Pluto is now based on Lua 5.5
    • The __mindex metamethod will no longer be used for bytecode compiled by plain Lua

Compiler:

  • Named parameters now work for $declared/hinted functions with parameter names
  • Ternary expression and null coalescing operator no longer emit unreachable/dead code for constant conditions
  • The math library can now be used in compile-time function calling
  • Removed the previously-deprecated try/catch statement

Standard Library:

  • Added wasm library
  • Added regex.search
  • Added math.ctz, math.clz, math.popcnt
  • Added table.isarray
  • Added lzf support to crypto.decompress
  • Added crypto.compress for lzf
  • Added crypto.whirlpool
  • Added require_ecdhe option to http.request & socket.starttls
  • Added %Q to string.format for UTF-8-safe quoting
  • Changed os.platform "wasm" to "emscripten"
  • Removed os.dnsresolve on MacOS due to not respecting /etc/hosts as expected

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