Skip to content
This repository was archived by the owner on Feb 22, 2025. It is now read-only.

v0.4.0

Choose a tag to compare

@ErwanBarbedor ErwanBarbedor released this 14 Sep 19:49
· 329 commits to master since this release

Changes

  • Create one plume.lua file per Lua version.
  • Add error message (instead of crash) for wrong type in operation on token with implicit rendering.
  • Add error message (instead of crash) for errors in external Lua files.
  • Add error message (instead of crash) for unexpected errors inside plume code.
  • Prevent implicit rendering from calling keys on numbers, or non-string methods on strings.
  • Add an error if user try to render a nil code.
  • Rename api.getl to api.lget to avoid confusion with api.setl. (l stands for "Lua" for one, "local" for the other).
  • New token:is_empty ()
  • New api.export ()

Fixes

  • Fix implicit rendering not working with string methods.
  • Fix token.__unm not working.
  • Fix an error occurring when there are comments between \if and \else.