You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

builtins.x.h 527B

12345678910111213141516171819202122232425
  1. // X macro: Define a macro named X, then include this file, then undef X.
  2. #ifdef Y
  3. Y("none", knone)
  4. Y("true", ktrue)
  5. Y("false", kfalse)
  6. #endif
  7. #ifdef X
  8. X("+", l2_builtin_add)
  9. X("-", l2_builtin_sub)
  10. X("*", l2_builtin_mul)
  11. X("/", l2_builtin_div)
  12. X("==", l2_builtin_eq)
  13. X("!=", l2_builtin_neq)
  14. X("<", l2_builtin_lt)
  15. X("<=", l2_builtin_lteq)
  16. X(">", l2_builtin_gt)
  17. X(">=", l2_builtin_gteq)
  18. X("print", l2_builtin_print)
  19. X("len", l2_builtin_len)
  20. X("if", l2_builtin_if)
  21. X("loop", l2_builtin_loop)
  22. X("while", l2_builtin_while)
  23. #endif