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

Migrate data structure definitions to Hydra #63

Open
joshsh opened this issue Jul 11, 2023 · 2 comments
Open

Migrate data structure definitions to Hydra #63

joshsh opened this issue Jul 11, 2023 · 2 comments
Labels

Comments

@joshsh
Copy link
Member

joshsh commented Jul 11, 2023

Currently in SmSn, atoms and other data structures are specified by hand-coded Java classes. In order to make SmSn graphs accessible to Hydra, and accessible in multiple programming languages (particularly Haskell as well as Java), we need to create a SmSn data model in Hydra. This will have the side effect of cleanly separating the data model from behaviors associated with the data model.

See in particular net.fortytwo.smsn.brain.model. Additionally, migrating the Action classes (net.fortytwo.smsn.server.actions) will simplify any future client/server IO.

cc @jmatsushita

@joshsh joshsh added the v2 label Jul 11, 2023
@jmatsushita
Copy link
Contributor

jmatsushita commented Jul 12, 2023

migrating the Action classes

I suppose you mean, migrating them to programs written in the Hydra DSL?

@joshsh
Copy link
Member Author

joshsh commented Jul 12, 2023

Correct. These DSL-based model specifications will be placed in the smsn-models module (created last fall, but not yet populated).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants