From 967be9e750221ab2ab783f95df79bb26d290a45e Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Mon, 15 Sep 2025 01:07:58 +0200 Subject: add: added projects --- tiger-compiler/src/bind/tasks.hh | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 tiger-compiler/src/bind/tasks.hh (limited to 'tiger-compiler/src/bind/tasks.hh') diff --git a/tiger-compiler/src/bind/tasks.hh b/tiger-compiler/src/bind/tasks.hh new file mode 100644 index 0000000..5ad970d --- /dev/null +++ b/tiger-compiler/src/bind/tasks.hh @@ -0,0 +1,42 @@ +/** + ** \file bind/tasks.hh + ** \brief Bind module related tasks. + */ + +// FIXME DONE: Some code was deleted here. +#pragma once + +#include + +namespace bind::tasks +{ + TASK_GROUP("4. Binding"); + + // Binding tasks + DISJUNCTIVE_TASK_DECLARE("bound", + "default the binding to Tiger " + "(without objects nor overloading)", + "bindings-compute" + " combine-bindings-compute" + " object-bindings-compute" + " assert-bindings-compute"); + + TASK_DECLARE("b|bindings-compute", + "bind the name uses to their definitions", + bind, + "parse"); + + TASK_DECLARE("B|bindings-display", + "enable the bindings display in the next --ast-display " + "invocation. does not imply --bindings-compute", + display_bind, + ""); + + // Renaming tasks + + TASK_DECLARE("rename", + "rename identifiers", + rename, + "bindings-compute"); + +} -- cgit v1.2.3