diff options
author | Ian Moffett <ian@osmora.org> | 2025-10-02 19:15:26 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-10-02 19:15:26 -0400 |
commit | bc7dadf4360509b04f4629cebbe345c7899e236b (patch) | |
tree | 712842f13c42c8fb47f27416dc95ac64fed6bfdb /src/sys/include/os/np.h | |
parent | 07b352ff545427881c32d6dd8b03539025bbca80 (diff) |
np: codegen: Deprecate AST in favor of stackgen
Deprecate the usage of abstract syntax treats in favor of the much saner
stack machines + IR usage
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys/include/os/np.h')
-rw-r--r-- | src/sys/include/os/np.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sys/include/os/np.h b/src/sys/include/os/np.h index 6671e10..9dba651 100644 --- a/src/sys/include/os/np.h +++ b/src/sys/include/os/np.h @@ -42,6 +42,21 @@ #include <lib/ptrbox.h> /* + * Valid program integer types + */ +typedef enum { + NP_BAD_TYPE, + NP_U8, + NP_U16, + NP_U32, + NP_U64, + NP_I8, + NP_I16, + NP_I32, + NP_I64 +} np_itype_t; + +/* * Compiler work * * @source: Source input file |