Commit Graph

7 Commits

Author SHA1 Message Date
Katrina Scialdone
6ecfaa9df5 Fix erroring functions causing a compile error
If a function's implementation creates a Javascript error, it would return as a compile error due to the `error` variable being shadowed internally by this try-catch. This commit fixes that, as well as clarifies the fixed error messages with "internal error".
2023-09-04 18:23:24 -06:00
Stefan Zermatten
b9588c83b1 Added dice functions to parse engine 2023-04-01 11:27:52 +02:00
Stefan Zermatten
dcc95486b3 fixed parser error when using incorrect call args 2022-04-21 10:59:19 +02:00
Stefan Zermatten
5b6bff91a4 Added resolve function to allow users to force a calculation to reduce 2022-02-23 12:58:12 +02:00
Stefan Zermatten
0cdec4a429 Start of action system re-write 2021-10-09 12:36:06 +02:00
Stefan Zermatten
b78517b61f Finished migrating parser to be object orientation free. All tests pass 2021-10-03 13:54:17 +02:00
Stefan Zermatten
feffa45cf7 Began work on rewriting parser without object orientation
Parsing is expensive, if the parse tree can be stored on the DB it can 
save a lot of compute time, but mongo can't store Classes, so we 
re-write without classes
2021-10-01 13:41:22 +02:00