Conversation
|
Will this require logic be written in this new format or will |
Yes, logic will be written in new format. Going to split up |
|
I really don't like the new format, imo it makes logic harder to read & write. |
|
Prefix notation is in the air, s-expressions have the benefit of being the absence of syntax. Syntax is minor, discussion seemed to get overly hung up on it. So wanted to get something out that can discuss other aspects, & then transform can apply syntax afterwards. I would suggest that you try & view this without a C perspective. Really I'd prefer if this had syntax more like Haskell There's not much indentation in the existing logic files, but have already received feedback about keeping So I'm trying to address most of what you're pointing out, but on function calls this is actually pretty important for them to look the same as logical flags. There's designs to make logic code reactive, like S.js. They're stuck with JS so every getter has to be explicitly called, whereas we have the benefit of having this layer to skip that Whether something is a function call without arguments or a field is irrelevant to logic. It's an implementation detail, & in fact the point is that we should be able to change the implementation underneath (or have generators with different implementation) without having to rewrite logic. These are all potentially reactive values |
…ve output, fix CMake to generate implicitly
this code is obsolete with glitch logic being implemented as tricks
|
Archipelago output would want to look like aMannus/Archipelago#6 |
used #5674 to export logic to s-expressions & generate cpp file instead
This opens up various future improvements:
Build Artifacts