From 20bd9521cd558e39eca4aac5f3db8e390f49ba2d Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Fri, 26 Jan 2024 13:55:33 -0800 Subject: Change README --- include/builtins.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/builtins.h b/include/builtins.h index 3b87aff..a21b436 100644 --- a/include/builtins.h +++ b/include/builtins.h @@ -3,21 +3,27 @@ #include /*! @brief adds two numbers together, pushes result on the stack */ +/*! call in stem with num1 num2 + => num */ void stemadd(value_t *v); /*! @brief subtracts two numbers together, pushes result on the stack */ +/*! call in stem with num1 num2 - => num */ void stemsub(value_t *v); /*! @brief multiplies two numbers together, pushes result on the stack */ +/*! call in stem with num1 num2 * => num */ void stemmul(value_t *v); /*! @brief divides two numbers together, pushes result on the stack */ +/*! call in stem with num1 num2 / => num */ void stemdiv(value_t *v); -/*! @brief [word] [quote] func, creates function with name [word] and value - * [quote] */ +/*! @brief creates function with name [word] and value [quote] */ +/*! call with `word value def`. */ void stemfunc(value_t *v); +/* @brief Inserts a value into a string or quote. */ +/* call with `[quote/string] value index insert` */ void steminsert(value_t *v); /*! @brief takes first number to the power of the second, pushes result on the -- cgit