-
Notifications
You must be signed in to change notification settings - Fork 82
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
Save expressions to .jl? #253
Comments
This may already work if filename ends in EDIT: Oh, from the title you mean as a loadable .jl file? That's easy if you just wrap in an |
Yeah, I am thinking it would be a nice helper to allow for just saving expressions to files, just doing |
It would be excellent to make that easy. I've wanted something like that for a while. If you've not done this before, I just submitted a PR myself (#254) so there are "fresh" models available. I guess this is a case, though, where you'd want |
load could take a Julia file and make an array of |
Very dim memories clamoring for attention: https://github.com/timholy/MacroExpandJL.jl. Steal anything you find useful. |
@ChrisRackauckas Do you still want this? |
I would like to just do
save(filename, ::Expr)
with ModelingToolkit.jl generated code. Would it be right to add this as a standard FileIO.jl thing?The text was updated successfully, but these errors were encountered: