diff options
| author | Shinya Sato <shinnya.sato@gmail.com> | 2021-10-29 01:35:54 +0900 |
|---|---|---|
| committer | Shinya Sato <shinnya.sato@gmail.com> | 2021-10-29 01:35:54 +0900 |
| commit | d28e80274828540a3278ef20c3250afb576773d4 (patch) | |
| tree | 329944a21b8dc12653e2b3105fb8264df1fb3fad /src/id_table.h | |
| parent | 8b6cf5aa982859035c015c95f31e989add9af238 (diff) | |
| download | inpla-d28e80274828540a3278ef20c3250afb576773d4.tar.gz inpla-d28e80274828540a3278ef20c3250afb576773d4.zip | |
v0.5.0
Diffstat (limited to '')
| -rw-r--r-- | src/id_table.h | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/src/id_table.h b/src/id_table.h index 8dbdeef..7567b70 100644 --- a/src/id_table.h +++ b/src/id_table.h @@ -26,17 +26,28 @@ #define ID_CONS 8 #define IS_LISTID(id) ((id == ID_NIL) && (id == ID_CONS)) -#define ID_INTAGENT 9 - -#define START_ID_OF_BUILTIN_AGENT 10 -#define ID_ADD 10 -#define ID_ADD2 11 -#define ID_APPEND 12 -#define ID_APPEND2 13 -#define END_ID_OF_BUILTIN_AGENT 13 +#define ID_INTAGENT 10 // This is an experimental dummy agent + // to show the use effect of Int agent. + + +#define START_ID_OF_BUILTIN_AGENT 15 +#define ID_APPEND 15 +#define ID_MERGER 16 +#define ID_MERGER_P 17 +#define ID_ADD 18 +#define ID_ADD2 19 +#define ID_SUB 20 +#define ID_SUB2 21 +#define ID_MUL 22 +#define ID_MUL2 23 +#define ID_DIV 24 +#define ID_DIV2 25 +#define ID_MOD 26 +#define ID_MOD2 27 +#define END_ID_OF_BUILTIN_AGENT 27 -#define START_ID_OF_AGENT 20 +#define START_ID_OF_AGENT END_ID_OF_BUILTIN_AGENT+1 //#define NUM_AGENTS 1024 #define END_ID_OF_AGENT 255 #define NUM_AGENTS END_ID_OF_AGENT+1 // 256 |
