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/1e637326-3f47-4a55-8821-d1b0873adc3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to