Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse calls to stochastic functions #13

Merged
merged 5 commits into from
Aug 8, 2024
Merged

Parse calls to stochastic functions #13

merged 5 commits into from
Aug 8, 2024

Conversation

richfitz
Copy link
Member

@richfitz richfitz commented Aug 6, 2024

Depends on mrc-ide/monty#51 because I need access to the new structure of data there. It won't pass until that's merged because pak is not able to resolve the dependencies.

This PR sorts out parsing calls to stochastic functions properly, using the new function from mcstate2 to get a list of supported functions, and the parsing support there. There's a bit of sleight of hand in the parsing where we convert the symbol Normal to a call which encodes the result of the parse.

@richfitz richfitz marked this pull request as ready for review August 7, 2024 14:30
Copy link
Contributor

@weshinsley weshinsley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All looks good

@richfitz richfitz merged commit 6efb7b8 into main Aug 8, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants