reno.parser#
Functions to handle parsing strings of reno ops/equations into the actual reno op objects themselves. This is primarily needed for the interative viz portions and the ability to serialize models for saving/loading to file.
Functions
|
Turn an equation string into Reno's math equation objects. |
|
Parse a single non-math op concatenated equation part, e.g. a scalar (float or int) or distribution with parameters. |
|
Pull out any python formatted args or kwargs for a function. |
|
Pull out the topmost operation and component arguments, leaving all nested/sub components as raw strings. |
|
Try to parse out a float or int if possible, otherwise just return the string itself. |
Get a dictionary of operation names and their associated python types/classes. |