Thanks Evan! Also if others could please post some cool examples that would be great!
On Thursday, December 14, 2017 at 10:37:26 PM UTC-6, Evan Balster wrote: > > Hello, all — > > I got fed up with the lack of good number-crunching capabilities in > TiddlyWiki, and after griping about it for a year I fixed it. > > Introducing the *Formula plugin*: > http://evanbalster.com/tiddlywiki/formulas.html (version 0.1.0 at time > of posting) > Source and issue tracking on GitHub: > https://github.com/EvanBalster/TiddlyWikiFormula > > > Formula is implemented as a widget, with a special *(=* "mushroom > bracket" *=)* syntax for inclusion in WikiText. It supports filters, > transclusion and variables, can process other formulas included via those > mechanisms, and automatically refreshes like the rest of TiddlyWiki. > > (= ( sum([tag[Profits]get[value]]) - sum(tag[Expenses]get[value]]) ) * {{ > Tax!!rate}} =) > > A macro allows formulas to be used as attributes (pending proper > integration with the wiki parser): > > <svg viewBox=<<formula " '0 0 ' & {{!!width}}*2 & ' ' & {{!!height}}">> > > > I'm modeling most of the syntax and behavior after popular spreadsheet > software (Microsoft Excel and Google Sheets) and have implemented a decent > library of math functions so far. While I don't plan on making a full > spreadsheet UI, I'm working on support for cell numbers and ranges in > formulas (so others can do so). > > The wiki itself documents formula syntax extensively: > http://evanbalster.com/tiddlywiki/formulas.html > > > I'm sure many of you, like me, have been looking for something like this > for a long time. If so, please give it a look, report any issues you > encounter on GitHub > <https://github.com/EvanBalster/TiddlyWikiFormula/issues>, and feel free > to share any function or operator extensions you develop. > > For my part, I'll be tearing a lot of old, bad code out of my tax ledger > wiki and my D&D character sheet automator. And generating some slick > SVGs. :) > > > Enjoy — > Evan Balster, imitone <http://imitone.com> > > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/918ef6ba-857e-45b7-8bbe-1e78d20d0c63%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.