From 5af108b84df8c3156c4303b73b144beb4cb949e3 Mon Sep 17 00:00:00 2001 From: Datawater <86855332+datawater@users.noreply.github.com> Date: Wed, 3 Jul 2024 01:11:12 +0400 Subject: [PATCH] Updated TODOS and documentation --- docs/CMBR.tex | 2 ++ libcmbr/src/pgn/ast.rs | 1 - src/main.rs | 2 -- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/CMBR.tex b/docs/CMBR.tex index 30f1986..b83c2c1 100644 --- a/docs/CMBR.tex +++ b/docs/CMBR.tex @@ -10,6 +10,8 @@ \maketitle +DISCLAIMER: The documentation is still very much so in the making, it is nothing more than a WIP + \section{Definitions} u24 - 24 bit unsigned integer \\ u8 - 8 bit unsigned integer \\ diff --git a/libcmbr/src/pgn/ast.rs b/libcmbr/src/pgn/ast.rs index cd29e18..735d265 100644 --- a/libcmbr/src/pgn/ast.rs +++ b/libcmbr/src/pgn/ast.rs @@ -73,7 +73,6 @@ fn next_token<'a>( ) { // NOTE: I don't know if this is slow. (Like this whole approach) I'm just gonna pretend it isn't until it causes problems // NOTE: This should be safe when called correctly. this function is only used locally, so it - // should be // SAFE: Should be safe let token = unsafe { tokens.pop_front().unwrap_unchecked() }; diff --git a/src/main.rs b/src/main.rs index 76f0f99..e7070ca 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,3 @@ -// TODO: Define and Write documentation for the CMBR Standard. -// TODO: Seperate the cli and libcmbr mod eval_args; use lexopt::prelude::*;