From ca458bfcd65c3a094fd0721cb5cd9f74dee5f845 Mon Sep 17 00:00:00 2001 From: nodist Date: Mon, 8 Jun 2026 16:17:14 -0400 Subject: remove action from ast --- docs/application/index.md | 4 ++-- docs/application/type.md | 9 ++------- 2 files changed, 4 insertions(+), 9 deletions(-) (limited to 'docs/application') diff --git a/docs/application/index.md b/docs/application/index.md index 49fd22d..68bd1a1 100644 --- a/docs/application/index.md +++ b/docs/application/index.md @@ -32,8 +32,8 @@ ### String/REPL -1. ##### Scan -2. ##### Parse +1. ##### Parse +2. ##### Scan 3. ##### Scope 4. ##### Check 5. ##### Eval diff --git a/docs/application/type.md b/docs/application/type.md index 52b28de..77c567d 100644 --- a/docs/application/type.md +++ b/docs/application/type.md @@ -15,23 +15,18 @@ typedef struct { static const kpl_type_ptr kpl_type_ptr_null = { UINT16_MAX, UINT16_MAX }; -typedef enum __attribute__((packed)) { +typedef enum : uint16_t { // ... } kpl_type_template; -typedef enum __attribute__((packed)) { - // .. -} kpl_type_flags; - typedef union { // ... } kpl_type_body; typedef struct { kpl_type_template template; - uint16_t flags; + _Atomic unt16_t ref_count; kpl_type_ptr self, prev, next, parent; - _Atomic int32_t ref_count; kpl_type_body body; } kpl_type; -- cgit v1.2.3