Expression
Expression copied to clipboard
Expose AST
Not a super pressing need, but it would be kind of fun if the AST was exposed (I believe subexpression
is fileprivate
right now). We're using this library for procedurally generating textures, so we need all the performance we can get. We were thinking of writing a little compiler that will compile the expression to Swift code, or maybe to shader code. Thanks for the library!
Sounds awesome. Feel free to open a PR that makes the parts you need public. The main reason I didn't make them public originally was so I could evolve the library without breaking changes, but it's been stable for a while now.