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

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

Re: [lp-ca-on] tax software design considerations


From: Allan Zhang
Subject: Re: [lp-ca-on] tax software design considerations
Date: Tue, 24 May 2016 23:24:04 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

What about R? It would be extremely easy to do these calculations and output in 
an appropriate form.



- -------- Original Message --------
From: Greg Knittl <address@hidden>
Sent: May 24, 2016 10:54:35 PM EDT
To: address@hidden
Subject: [lp-ca-on] tax software design considerations

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

-----BEGIN PGP SIGNATURE-----

iQI5BAEBCgAjHBxBbGxhbiBaaGFuZyA8YWxsYW5AYXppYy5jYT4FAldFGtQACgkQ
lQhQ+uFN8kMpfA//Z5nE21g26ZDqLDNxGw9J6msRIZSK9WDCds7ibinIlnUFL0WX
maYHjENQq+KyN3E81zKmmxgqlFE0kVbvUR2QRSJiYrq2tuHUj/68KypH1nb2/agj
ksMdbpCHxdF8Ll1FZBjWtzWAUMAK+9EiKpZ02VLypgtMprfqLV2MiXdXlZV4SJBt
QXNh9na3zEiQa6WX8G+HqwA7DWBeqiCkvQg97a+W8wyKs5iA5Ld5Y9EhrzwD2V1X
Z44nFGxGoK2VNLxCSMITfucjQEyql52sBZIp0GJwMt826pOkrwR1uPjR7C8n1wik
0/3csySFO7Ngg1jrCLSdk3fkF7ostZ62PKzAAaLnooZ4cHVNhc7srYBhIq03MHIC
qRKizW0rLT6/9eMOk5Ky4fBgDdxHfeJFQ2Br1osZnAz0gXAkb/mqhbFa6FxckESw
Njtz3PERdORhcdet8a+ipCectQ+DGFLSzVo0KeuZkFUHyE8yAncYS46fO1jmkfLd
OmiVS1GtnDcuv4kFpJlHGVSNdNL61PejA8+Md6/YKSHv018s6SRj0FOllxSzDOan
0RN2cPbqAAvK7khg9xh3PTzQ4BFBA22eDEd/fCJG9S4uFs/B6viVyS/B52oIZTAw
kI2vCCXDwXrYmRT/Zp2QXzFKFGMc3Z0nsdvsZ/lVHrpnHGjaTeJThjLhWYw=
=VxNE
-----END PGP SIGNATURE-----




reply via email to

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