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

0.11.0

Choose a tag to compare

@ErwanBarbedor ErwanBarbedor released this 02 Nov 17:06
· 71 commits to master since this release

Changes

  • As planned, \for, \if, \while and \elseif first parameters must now be lua blocks.
  • Remove _L, too complex to implement without being useful.
  • No need anymore to escape $ or braces inside lua string. Escaped $ or braces will now raise an error.
  • Can now use return inside a lua block.
  • In consequence, remove plume.write.
  • Can now use arbitrary complexe lua iterator in the \for macro.
  • Token implicit conversion now only works if used with string methods or operators.

Enhancement

  • Plume should now detects if a Lua block is a statement or an expression without error.
  • More pertinent suggestions in case of unknown macro or parameter.
  • More coherent error messages.
  • Resetting Plume is much faster.
  • More accurate spaces filtering.

Internal changes

  • Rewrite unitary testing: cleaner code and much clearer output.
  • Rewrite tokenizer. Cleaner and now context-sensitive
  • Move somme parts of render to parser.
  • Write a limited lua parser.
  • Move errors message to dedicateds files.
  • A lot of other code rewriting, cleaning, and comments added.