From ba6285e006e149d77c97f13424d9acd42d0570b5 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 1 Mar 2024 02:50:50 -0600 Subject: [PATCH] Pretend conlang has a complete compiler, and start mocking up a standard library --- stdlib/lib.cl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 stdlib/lib.cl diff --git a/stdlib/lib.cl b/stdlib/lib.cl new file mode 100644 index 0000000..2d8a964 --- /dev/null +++ b/stdlib/lib.cl @@ -0,0 +1,11 @@ +//! # The Conlang Standard Library + +/// 32-bit signed integer type +#[intrinsic = "i32"] +type i32; + +/// 32-bit unsigned integer type +#[intrinsic = "u32"] +type u32; + +