2020-11-22 22:56:27 +03:00
|
|
|
(* This file is part of the Catala compiler, a specification language for tax
|
|
|
|
and social benefits computation rules. Copyright (C) 2020 Inria, contributor:
|
2022-04-04 19:06:40 +03:00
|
|
|
Denis Merigoux <denis.merigoux@inria.fr>, Alain Delaët-Tixeuil
|
|
|
|
<alain.delaet--tixeuil@inria.fr>
|
2020-11-22 22:56:27 +03:00
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
|
|
use this file except in compliance with the License. You may obtain a copy of
|
|
|
|
the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
License for the specific language governing permissions and limitations under
|
|
|
|
the License. *)
|
|
|
|
|
2021-01-21 23:33:04 +03:00
|
|
|
open Utils
|
2022-08-12 23:42:39 +03:00
|
|
|
open Shared_ast
|
2022-06-03 17:40:03 +03:00
|
|
|
|
2022-07-27 13:18:14 +03:00
|
|
|
type lit = dcalc glit
|
2022-07-28 11:36:36 +03:00
|
|
|
|
2022-07-26 22:58:04 +03:00
|
|
|
type 'm expr = (dcalc, 'm mark) gexpr
|
|
|
|
and 'm marked_expr = (dcalc, 'm mark) marked_gexpr
|
2022-02-04 14:33:26 +03:00
|
|
|
|
2022-08-16 17:54:42 +03:00
|
|
|
type 'm program = 'm expr Shared_ast.program
|