From 5126c9ed83fe6169463566e74f966a4a63e57ca0 Mon Sep 17 00:00:00 2001 From: Sophie Forrest Date: Fri, 30 Aug 2024 23:35:45 +1200 Subject: feat: initial commit of brainf interpreter --- src/constants.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/constants.rs (limited to 'src/constants.rs') diff --git a/src/constants.rs b/src/constants.rs new file mode 100644 index 0000000..6651b22 --- /dev/null +++ b/src/constants.rs @@ -0,0 +1,4 @@ +//! Constants and types used throughout the Brainfuck interpreter. + +/// The inner type used by a Brainfuck tape. +pub type TapeInner = u8; -- cgit 1.4.1