match won't be implemented with the current implementation of token strings

This commit is contained in:
Kyler Olsen 2025-11-30 21:04:02 -07:00
parent 721384d400
commit ae3483c612
1 changed files with 1 additions and 12 deletions

View File

@ -66,7 +66,7 @@ Boolean builtin_ln(InterpreterState *interpreter_state);
Boolean builtin_log(InterpreterState *interpreter_state);
Boolean builtin_logb(InterpreterState *interpreter_state);
// Boolean builtin_map(InterpreterState *interpreter_state);
Boolean builtin_match(InterpreterState *interpreter_state);
// Boolean builtin_match(InterpreterState *interpreter_state);
Boolean builtin_max(InterpreterState *interpreter_state);
// Boolean builtin_mean(InterpreterState *interpreter_state);
Boolean builtin_min(InterpreterState *interpreter_state);
@ -331,12 +331,6 @@ Boolean load_builtins(InterpreterState *interpreter_state) {
if (!hash_table_put_funcs(interpreter_state->functions, SLS_STR("logb"), func))
return FALSE;
func = (FunctionItem *)malloc(sizeof(FunctionItem));
if (func == NULL) return FALSE;
*func = (FunctionItem){ .type = FUNCTION_BUILTIN, .builtin = *builtin_match};
if (!hash_table_put_funcs(interpreter_state->functions, SLS_STR("match"), func))
return FALSE;
func = (FunctionItem *)malloc(sizeof(FunctionItem));
if (func == NULL) return FALSE;
*func = (FunctionItem){ .type = FUNCTION_BUILTIN, .builtin = *builtin_max};
@ -1643,11 +1637,6 @@ Boolean builtin_logb(InterpreterState *interpreter_state) {
return FALSE;
}
Boolean builtin_match(InterpreterState *interpreter_state) {
(void)interpreter_state;
return FALSE;
}
Boolean builtin_max(InterpreterState *interpreter_state) {
(void)interpreter_state;
return FALSE;