Skip to content

Release v1.7.4

Compare
Choose a tag to compare
@darnocian darnocian released this 11 Feb 17:51
· 195 commits to main since this release

This release features:

  • NEW: Assignment can now be done using both Pascal (:=) and C (=) operators. This is a flexibility feature to support users.
  • NEW: default(value, default) method. Default is returned when IsEmpty(value) is true.
  • NEW: domid(record_or_class [, context:str] )
  • NEW: pascal-like ternary: <% greet := true; print( 'hello' if greet else 'bye' ) %>
  • FIX: refactor old C-like ternary <% print(greet? 'hello':'bye' ) %>
  • FIX: some of the language constructs required open and close brackets. These are now optional. Close bracket will be forced when the open bracket is used.
  • FIX: semi colons can be used more liberally within the script blocks, even with empty statements. <% print('hello'); ; ; ; print('world') ; %>