From c9ff7bdb61efb1609876abdc40fab9a2ddc06f94 Mon Sep 17 00:00:00 2001 From: nodist Date: Mon, 18 May 2026 11:19:22 -0400 Subject: remove flag type and add .mask to int --- docs/type_system/flag.md | 19 ------------------- docs/type_system/index.md | 2 -- docs/type_system/int.md | 2 +- docs/type_system/namespace.md | 2 +- docs/type_system/union.md | 2 -- mkdocs.yml | 1 - 6 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 docs/type_system/flag.md diff --git a/docs/type_system/flag.md b/docs/type_system/flag.md deleted file mode 100644 index 45aecfa..0000000 --- a/docs/type_system/flag.md +++ /dev/null @@ -1,19 +0,0 @@ -# Flag - ---- - -Up to 64 symbols that can be set on and off - -```text -Flag[.name; ...] - -opts : Flag[.a; .b; .c]$.a - -`log opts // Flag[.a; .b;. c].opts$(.a) -``` - -## `add - -## `remove - -## `has diff --git a/docs/type_system/index.md b/docs/type_system/index.md index 3e04b05..4116068 100644 --- a/docs/type_system/index.md +++ b/docs/type_system/index.md @@ -28,8 +28,6 @@ Denotes that a field that does not resolve to anything * #### [Enum](./enum.md) -* #### [Flag](./flag.md) - * #### [Int](./int.md) * #### [Float](./float.md) diff --git a/docs/type_system/int.md b/docs/type_system/int.md index c03df6b..97a871f 100644 --- a/docs/type_system/int.md +++ b/docs/type_system/int.md @@ -7,7 +7,7 @@ Int_bit_size : `alias Enum[.bit8; .bit16; .bit32; .bit64; .bit_any] Int_signedness : `alias Enum[.nosign; .unsigned; .signed; .positive] -Int_representation : `alias Enum[.bool; .binary; .octal; .decimal; .hex; .utf8; .utf16; .utf32] +Int_representation : `alias Enum[.bool; .mask; .binary; .octal; .decimal; .hex; .utf8; .utf16; .utf32] Int[Int_bit_size; Int_signedness; Int_representation] ``` diff --git a/docs/type_system/namespace.md b/docs/type_system/namespace.md index c3b79f1..37c7b17 100644 --- a/docs/type_system/namespace.md +++ b/docs/type_system/namespace.md @@ -4,7 +4,7 @@ ```text Namespace_class `alias Enum[.native; .file] -Namespace[Namespace_class; ...] +Namespace[Namespace_class; AST; EXPORTS] ``` A file with code diff --git a/docs/type_system/union.md b/docs/type_system/union.md index 1df65a8..7d0c798 100644 --- a/docs/type_system/union.md +++ b/docs/type_system/union.md @@ -50,5 +50,3 @@ z // is value if y is not zero ### \`some ### \`none - - diff --git a/mkdocs.yml b/mkdocs.yml index b5f7d1d..48a4b47 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -14,7 +14,6 @@ nav: - Alias: 'type_system/alias.md' - Unique: 'type_system/unique.md' - Enum: 'type_system/enum.md' - - Flag: 'type_system/flag.md' - Int: 'type_system/int.md' - Float: 'type_system/float.md' - Tuple: 'type_system/tuple.md' -- cgit v1.2.3