Evan Balster
2017-12-15 04:37:26 UTC
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>
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+***@googlegroups.com.
To post to this group, send email to ***@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/383e5ec7-da2e-42c8-a0fc-d5952887921d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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+***@googlegroups.com.
To post to this group, send email to ***@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/383e5ec7-da2e-42c8-a0fc-d5952887921d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.