Replies: 5 comments 1 reply
-
oh, |
Beta Was this translation helpful? Give feedback.
-
I forgot about having children of type |
Beta Was this translation helpful? Give feedback.
-
Was asked to clarify; primary goals (which I consider "on my TODO list") are:
Secondary goals (which I think are neat, but don't consider them to be on my TODO list) are:
Note: when I say "linking," it might be more appropriate to say "whole-program compilation"... Though, everything but final SilvIR-to-X translation happens separately, and I intend "linking" to be optional on most backends, so maybe it's not that much of a misuse of terminology? |
Beta Was this translation helpful? Give feedback.
-
I read the description of SilvIR. I have some questions specific to sections, as well as overall comments. Laziness and Strictness
Decoration
OverallThis document doesn't provide enough detail to describe the IR. With the missing details, I have no sense of whether compiling Silver to SilvIR is reasonable. Some topics which ought to be addressed in a document with more details, in addition to the above points:
As written, this document sounds as if it is trying to describe a translation of an attribute grammar to a functional language, rather than an IR intended for attribute grammars. I need to see a document describing SilvIR in more detail before I am able to decide whether it is a good idea or offer suggestions on improving it. |
Beta Was this translation helpful? Give feedback.
-
The worked-through translation and evaluation is here. |
Beta Was this translation helpful? Give feedback.
-
Prose; where it differs from the Haskell, it's correct (there are a few recent tweaks I need to propagate back): https://git.sr.ht/~remexre/exps/tree/3c321e804f777f54d079f6002ba74c2964eddab8/item/silvir/README.md
Reposting from Slack, since I think we'll want to keep this around:
Beta Was this translation helpful? Give feedback.
All reactions