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

Expose AST #36

Open
wilg opened this issue Mar 17, 2022 · 1 comment
Open

Expose AST #36

wilg opened this issue Mar 17, 2022 · 1 comment

Comments

@wilg
Copy link

wilg commented Mar 17, 2022

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!

@nicklockwood
Copy link
Owner

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.

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

No branches or pull requests

2 participants