-
Notifications
You must be signed in to change notification settings - Fork 27
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
A macro-based API #5
Comments
@ChrisRackauckas I have been thinking more about this and was wondering how to go about doing this. Do you have any suggestions? I was looking at your |
ParameterizedFunctions.jl gets hairy since there's so much other stuff involved, like inverse Jacobian calculations. We plan to cover optimal control in SciCompDSL.jl, which is the next DSL in construction and is designed to be cross platform. If you can take a look and weigh in on the things that are needed to do optimal control correctly then I'd be happy to make sure it's a good front-end for your needs. |
@ChrisRackauckas very cool! That would be great, thanks! |
Hey,
Following up from some JuliaCon comments. The expression-based API is interesting, but I was thinking you should add a macro-based API on top of it. Essentially:
can create
de=[:(x2[j]),:(u1[j]-1.625)]
and it would be more natural than the user defining these themselves. It would also hide the implementation detail of the[j]
. The lower level API using arrays of expressions would still exist for more advanced users to programmatically create expressions.The text was updated successfully, but these errors were encountered: