I've started this new thread because some users were complaining that the length of the previous thread <https://groups.google.com/forum/#!topic/tiddlywiki/bfInUWhAtzo%5B1-25%5D> was making it hard to read and navigate on some devices.
Changelog for version 0.2.1: 0.2.1 — January 16, 2018 - Implemented /* comments */ in the C/JavaScript style. - Implemented closures <https://en.wikipedia.org/wiki/Closure_(computer_programming)> — functions can now "capture" local variables declared outside them. - Note: Variables are captured from the place a function is declared, not where it is used. - Added the join function, which is simpler than textjoin. - Fixed a major error in value conversion that caused a reversion to JavaScript behaviors. - Fixed the transclude_index function. On Wednesday, 17 January 2018 01:15:24 UTC-6, Evan Balster wrote: > > Announcing the second generation of my formula plugin for TiddlyWiki. > > See the *Formula wiki* for the latest documentation: > http://evanbalster.com/tiddlywiki/formulas.html > > *Report issues and view source GitHub*: > https://github.com/EvanBalster/TiddlyWikiFormula > > > Formula lets you do computation in TiddlyWiki in the style of popular > spreadsheet apps Excel and Google Sheets, with the addition of TiddlyWiki's > own filter, transclude and variable systems. Tiddlers can behave like > individual rows in a spreadsheet. A large collection of built-in functions > is included, for use with text, numbers, dates, arrays and regular > expressions. > > Formula is implemented as a widget, with a special *(=* "mushroom > bracket" *=)* syntax for inclusion in WikiText, and can also be used in > widget/HTML attributes. Formulas included via transclusion, filters and > variables are computed and refreshed like any other part of your wiki. > > (= ( sum([tag[Profits]get[value]]) - sum(tag[Expenses]get[value]]) ) * {{ > Tax!!rate}} =) > > The second generation of formula adds support for local variables, > comments, lambda functions and element-wise operations on arrays (such as > filter results), allowing more advanced computations to be expressed inside > TiddlyWiki. Search the wiki for "demo" to see some of the things I've > built. > > > The plugin is a work in progress and may have bugs. Please report these > on GitHub or in this thread. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6fbbf1ee-6a93-4a41-a310-ec81b6fb4893%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

