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

Create Decapode from equation #19

Open
fivegrant opened this issue Nov 6, 2023 · 2 comments
Open

Create Decapode from equation #19

fivegrant opened this issue Nov 6, 2023 · 2 comments

Comments

@fivegrant
Copy link
Contributor

The user will likely create and edit Decapodes at the equation level. Therefore, having a way for a user to declare equations that are then compiled to work with Decapodes would be a big value add.

@brandomr
Copy link
Contributor

Is this just writing the decapodes code itself? E.g.

Advection = @decapode begin
  C::Form0
  ϕ::Form1
  V::Form1
  ϕ == ∧₀₁(C,V)
end

So I think if the notebook let's you write Julia and the sysimage has the libraries loaded this should work out of the box, right?

If the user were to "load in" another decapode (e.g. #21) then they could compose this Advection decapode they craft in the notebook with, say, a Diffusion one they load in from Terarium.

Does that make sense?

@fivegrant
Copy link
Contributor Author

@brandomr the idea here is that the DSL wouldn't be used and plain unicode/latex/mathml/something else could be used to declare the equation. The conversion to a Decapode should happen under the hood

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