Up to Main Index Up to Journal for August, 2023 JOURNAL FOR TUESDAY 29TH AUGUST, 2023 ______________________________________________________________________________ SUBJECT: Mere ICE updated to v0.0.7 DATE: Tue 29 Aug 20:29:29 BST 2023 Mere ICE has been updated to v0.0.7 in the annexed works[1]. This update comes ten days after the v0.0.6 release. Mere now has built-in support for regular expressions with six new operators: ~c ~f ~m ~s ~s= and ~x. Two new data types have been added: regexp and []regexp, they represent regular expressions that have been compiled. Functions are not accidentally executed if you forget to add an exit before their definitions. Nested functions are not accidentally executed if you forget to add a return before their definition. Functions are now only executed when explicitly called — this has been a pet peeve for a while now… This release was planned for the bank holiday just gone. Instead I was busy fighting with the interpreter for my little language which has been creaking alarmingly and showing a few cracks recently, poor thing :( Regular expression support is considered “better than experimental” at this point in time. Any and all bug reports welcome: diddymus@wolfmud.org NOTE: Please make sure the version in the top right of Mere ICE shows ‘v0.0.7’ and if not hard refresh the web page in your browser. From the “What’s New” section: v0.0.7 — Tuesday 29th August, 2023 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ • Functions only execute when called. The exit statement is not required to stop execution from running into function definitions. The return statement is not required to stop execution running into nested function definitions. • Added built-in support for regular expressions: · added regexp and []regexp data types which compile a regular expressions for re-use · six new operators for regular expressions: ~c cut ~f find ~m match ~s substitute ~s= substitute and assign ~x extended string · new reference sections: Regexp, Regular Expression Support, Compiled Regular Expressions and Regular Expression Syntax • New roman numeral conversion example program • Fix interpreter mishandling commas in lists -- Diddymus [1] The annexed works: /annex/ Up to Main Index Up to Journal for August, 2023