Treep program is used in Dubiel Vitrum company to manage all production in the factory.
Treep program is used in Dubiel Vitrum company to manage all production in the factory.
I am working on treep to handle date and times more precisely and reliably as in ISO 8601 "YYYY-MM-DD HH:MM:SS". I have built and hardcoded in treep regular expression, that supports dates from "1901-12-13 20:45:52" until "2038-01-19 03:14:07". It...
(1) fixed time parsing and representing to work good with time zones and also (!!!) with daylight saving time
(2) added "rand" functions for random numbers
Please feel free to contact me: leszek.dubiel (-at-) dubielvitrum.pl.
SPEED OF TREEP
Speed is probably awful, but speed is not important here. Important is simplicity and security (language operates only on stdin, stdout, stderr -- no files, no tricks, no extras). In my environment it processes 500 thounsands...
Below is description of current functions in text format.
You can download PDF table here: www.dubiel.pl/treep/tr...
/* function: if
* parameters: any number of pairs boolean and value (condition, value...
What Treep does in 3 minutes:
-- read/write 400 thousand (400.000) lines of text
-- compute 15 million of user-defined function calls
-- compute 110 million of built-in functions
-- stack of values gets 600 thousand (600.000) values
-- r...