Replies: 1 comment 2 replies
-
I did a bit of a trial run, just to see what a good general direction would be for when it's the right time to continue on this. I got it to the point of generating struct definitions, but no further than that (instantiating, using, etc. wasn't implemented). My implementations were pretty rushed, but the types should mostly be on the right track so I'll share them here. Just note that there will be things that I don't see coming, so take this with a grain of salt.
|
Beta Was this translation helpful? Give feedback.
-
We had talked about adding
struct
s to GProc, to enable it to have betterChoices
parity with GOOL. I think now might be a good time to start work on it. I'm running low on major issues to work on, and it seems like splitting updrasil-code
should be easier to do once GProc is more fully-featured.Design Decisions
Implementing Structs in
drasil-gool
shouldn't be too bad. We can take a lot of inspiration from classes, and I've worked with Julia's structs a lot already. From there, we can start integrating them intodrasil-code
. This will likely be a bigger challenge, but it will bring us a lot closer to being able to generate most of our examples in Julia.Beta Was this translation helpful? Give feedback.
All reactions