From bc7dadf4360509b04f4629cebbe345c7899e236b Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 2 Oct 2025 19:15:26 -0400 Subject: 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 --- src/sys/include/os/np.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/sys/include/os/np.h') 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 @@ -41,6 +41,21 @@ #include #include +/* + * 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 * -- cgit v1.2.3