- Lost in the World Wide Web (help)
- https://schrottkatze.de
- Joined on
2023-05-03
Namespacing can also just be an ID.
But I take back that library loading may be in the IR, since that makes distribution as binaries possible.
I misunderstood how your implementation works…
How would you want to report warnings/errors back from the executor then? Do you want the frontend to be responsible for keeping track of a potential ID → span mapping, even though after the…
not instructions, the metadata field
which may contain spans, typed information etc to generate good errors.
else we'll just be yet another program with useless runtime errors, and that's…
Why is it?
I think this discussion doesn't belong in a code review, probably in #4.
- What one value would you want for referring to both a specific instruction and differentiating the…
If i understand your implementation correctly, would it theoretically be possible to also allow named instructions then for usability reasons? even if they just get abstracted away (and the name…
that doesn't solve namespacing for said functions.
and imports (which will be necessary in the future anyway), so multiple GraphIr
s will be necessary to load "libraries", however those may…
How do you intend to implement custom function calls then? Rough outline because currently I don't think I understand
goto
s kinda or...?
Ahhh, I see.
I do think that there should only be at most one value because that might make some stuff a lot more elegant, but that's also solvable via syntactic sugar probably (and this is…
the implementor of the ir (the frontends), since for example the language implementation would just call the runtime and then as a response either get a result or if it fails errors (including…
i dont think a span (debug info imho) doubling as an id is a good idea i think that should be seperate, so it doesn't get cursed to work with for other implementations that aren't text-based?
Also, since I have no idea if I even can review an image: do you know the licensing situation? Maybe use something that's CC-* for sure or that we've created instead?
noise is an instruction type. so are the others, we'll need more complex code to determine the correct numbers here in the future...
Isn't a u16 quite small in case of a huge graph? Also, how do named sockets work then?