-
Is there a way to dump (or traverse) AST of a function? I am looking into Odin for using it to create differentiable programs (by creating an adjoint of it). |
Beta Was this translation helpful? Give feedback.
Answered by
Kelimion
Sep 21, 2022
Replies: 1 comment
-
There is the I suggest visiting |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ib00
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is the
core:odin
package which will let you parse a package, file or a string of Odin code.I suggest visiting
#ols
on the Odin Discord if you get stuck. The Odin Language Server (OLS) heavily uses this package.