crust/rust.h

18 lines
351 B
C

#include <stdbool.h>
#define fn int
#define let_int const int
#define let_float const float
#define let_bool const bool
#define let_char const char
#define let_mut_int int
#define let_mut_float float
#define let_mut_bool bool
#define let_mut_char char
#define print printf
#define loop while(true)
#define Ok(); return 0
#define Err(); return 1