catala/compiler/scopelang
Louis Gesbert 2823795f9f AST change: more specific application
As part of making tuples first-class citizens, expliciting the arity upon
function application was needed (so that a function of two args can
transparently -- in the surface language -- be applied to either two arguments
or a pair).

It was decided to actually explicit the whole type of arguments because the cost
is the same, and this is consistent with lambda definitions.

A related change done here is the replacement of the `EOp` node for operators by
an "operator application" `EAppOp` node, enforcing a pervasive invariant that
operators are always directly applied. This makes matches terser, and highlights
the fact that the treatment of operator application is almost always different
from function application in practice.
2023-12-19 17:27:40 +01:00
..
ast.ml Reformat 2023-11-30 23:53:38 +01:00
ast.mli Reformat 2023-11-30 23:53:38 +01:00
dependency.ml Typing defaults: making the compiler adhere to the new type discipline 2023-11-27 11:06:01 +01:00
dependency.mli Simplification: store paths in Uids 2023-08-31 18:31:48 +02:00
dune Rename utils to catala_utils 2022-11-28 16:38:09 +01:00
from_desugared.ml AST change: more specific application 2023-12-19 17:27:40 +01:00
from_desugared.mli Refactoring for cleaner exception graph building 2023-04-18 11:06:58 +02:00
print.ml Reformat 2023-11-27 11:09:08 +01:00
print.mli Implement module lookups for scopes, structs, and enums 2023-08-31 17:54:39 +02:00
scopelang.mld Fix most doc errors 2023-06-02 17:17:45 +02:00