Branch
Hash :
87826002
Author :
Thomas de Grivel
Date :
2025-07-21T01:59:24
refactor types.h p_* types
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
/* kc3
* Copyright from 2022 to 2025 kmx.io <contact@kmx.io>
*
* Permission is hereby granted to use this software granted the above
* copyright notice and this permission paragraph are included in all
* copies and substantial portions of this software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
#ifndef LIBKC3_ENV_EVAL_EQUAL_H
#define LIBKC3_ENV_EVAL_EQUAL_H
#include "types.h"
/* Evaluator as a code walker for operator = equal. */
bool env_eval_equal_cow (s_env *env, bool macro, s_cow *a,
s_cow *b, s_cow **dest);
bool env_eval_equal_do_block (s_env *env, bool macro,
s_do_block *a, s_do_block *b,
s_do_block *dest);
bool env_eval_equal_list (s_env *env, bool macro,
s_list *a, s_list *b,
s_list **dest);
bool env_eval_equal_struct (s_env *env, bool macro,
s_struct *a,
s_struct *b,
p_struct *dest);
bool env_eval_equal_tag (s_env *env, bool macro,
s_tag *a, s_tag *b,
s_tag *dest);
bool env_eval_equal_time (s_env *env, bool macro,
s_time *a, s_time *b,
s_time *dest);
bool env_eval_equal_tuple (s_env *env, bool macro,
s_tuple *a, s_tuple *b,
s_tuple *dest);
#endif /* LIBKC3_ENV_EVAL_EQUAL_H */