diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
| commit | 967be9e750221ab2ab783f95df79bb26d290a45e (patch) | |
| tree | 6802900a5e975f9f68b169f0f503f040056d6952 /tiger-compiler/src/bind/tasks.hh | |
Diffstat (limited to 'tiger-compiler/src/bind/tasks.hh')
| -rw-r--r-- | tiger-compiler/src/bind/tasks.hh | 42 |
1 files changed, 42 insertions, 0 deletions
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 <task/libtask.hh> + +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"); + +} |
