pharaun / alldice

Restful interface to a dice expression eval and generator.
Apache License 2.0
0 stars 1 forks source link

Separate the internal interpreter state from the lisp environment state. #2

Open pharaun opened 10 years ago

pharaun commented 10 years ago

Right now I am injecting the random generator into the lisp environment, this relays on the interpreter to make sure it does not get trampled upon and special cases here and there, so I think its better to extract this out of the LispEnv into its own Env.

Also I'm wanting to add in 2 more environment items;

  1. Execution logging for debugging any execution issues, it would be neat to get a full traceback of the previous execution.
  2. Dice roll logging so that we can log what a roll was for and so forth.