libreplanet-ca-on
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lp-ca-on] tax software design considerations


From: Greg Knittl
Subject: [lp-ca-on] tax software design considerations
Date: Tue, 24 May 2016 22:54:35 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

Income tax software has to perform spread-sheet like calculations which I believe are more generically known as reactive programming. It would be nice to feed the calculation rules into the engine as data which means either a compile step or a reflexive language. I've written my tax calculations in XSLT 2.0 which can do reactive programming via global variables. However it is not reflexive as of 2.0. This looks to be available in XSLT version 3.0 https://www.w3.org/TR/xslt-30/#element-evaluate. I'm not sure if there is a libre version of XSLT 3.0.
Meanwhile I've hardcoded the calculation rules in the XSLT 2.0 code.

There is most likely a better way. Javascript? Lisp?

Greg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]