Open pharaun opened 10 years ago
Half way there, I have the data rolls implemented, Working on the programmable rolls. Once we're done with this group the remaining work will be to integrate it into the system + provide a pcgen -> scheme AST builder for building the AST for the scheme engine to execute.
I now support expression parsing and have a mini AST of the known syntax for pcgen.
Only thing left to do is clean up the parser and the AST, ie I would really like to be able to fold Expr into Function calls since its what will happen under the hood anyway.
Should be able to soon write the PCGenAST -> LispVal AST transformation to get our scheme AST for execution.
The primary question is probably, how to deal with calling functions in the standard library, and how to keep them in sync, or should i only emit primitive AST and no standard library function calls?
PCGEN dice roller rules:
Example rolls:
Citation: