Do not allow capabilities in parsing and syntax check#201
Do not allow capabilities in parsing and syntax check#201patritzenfeld merged 13 commits intomainfrom
Conversation
|
Come to think of it, do we actually anywhere (in |
|
|
Note that I said:
|
|
So, for example this: https://github.com/fmidue/logic-tasks/blob/892db4aae14d5b71f5337e14a631b589e5a9ca13/flex/composeFormula.flex#L143-L148 seems to dispute one of your assertions. |
|
Oh sorry. The syntax check seems to be vanilla OutputCapable in all flex-tasks at the moment. So should this be changed to run in Identity as well? |
|
More invasively, maybe, the (Indeed, on a conceptual level, one could say: The syntax checks should be things that in principle could happen on the client side, with form verification / JavaScript. So indeed, they should not have access to files, IO command execution etc.) |
|
An error could be thrown during parsing if But I think you didn't mean that, but rather some way to communicate the |
|
Yes. In any case, sooner or later the type checker would tell us about our wrong assumption if we now go with |
…anual (also some outdated info here)
|
I replaced the case now after all, because |
This now runs in the Identity Monad. Afterwards the checks continue in IO.