This is the latest Eliza code. Even though the Eliza chat bot is presently broken, I am finding this to be a useful environment for developing and testing things.
I split out the "narrative" that Eliza uses into a separate file, with an idea toward eventually replacing this with a hash tag based dataset, or something that is based on an external file, that can be edited or extended. In the meantime, here it is.
Here it is, also. To actually get this to run, you will want to get the rest of the stuff that it needs, like the Pascal IO intrinsics, and the frame Lisp stuff, which is on Git.
The important stuff, if you want to calculate the position of the sun to a good approximation. A lot more also needs to be done to get the moon and the planets, whether or game engine use, astrology, or actual amateur astronomy.