From 0d1e125832d0fd8ca31c5f782e7c3db774ae5a02 Mon Sep 17 00:00:00 2001 From: lemon Date: Sun, 14 Aug 2022 11:16:03 +0200 Subject: woa --- src/type.hff | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/type.hff (limited to 'src/type.hff') diff --git a/src/type.hff b/src/type.hff new file mode 100644 index 0000000..ce04063 --- /dev/null +++ b/src/type.hff @@ -0,0 +1,15 @@ +struct Type { + size usize, + align usize, + konst bool, + id uint, + u enum union { + Void, + Bool, + Int struct { sgn bool }, + Flo, + Ptr *Type, + Arr struct { child *Type, length i64 }, + Slice *Type, + } +} -- cgit v1.2.3