symbols.h 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. /* -*-comment-start: "//";comment-end:""-*-
  2. * GNU Mes --- Maxwell Equations of Software
  3. * Copyright © 2016,2017,2018,2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
  4. *
  5. * This file is part of GNU Mes.
  6. *
  7. * GNU Mes is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 3 of the License, or (at
  10. * your option) any later version.
  11. *
  12. * GNU Mes is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. struct scm *cell_nil;
  21. struct scm *cell_f;
  22. struct scm *cell_t;
  23. struct scm *cell_dot;
  24. struct scm *cell_arrow;
  25. struct scm *cell_undefined;
  26. struct scm *cell_unspecified;
  27. struct scm *cell_closure;
  28. struct scm *cell_circular;
  29. struct scm *cell_vm_apply;
  30. struct scm *cell_vm_apply2;
  31. struct scm *cell_vm_begin;
  32. struct scm *cell_vm_begin_eval;
  33. struct scm *cell_vm_begin_expand;
  34. struct scm *cell_vm_begin_expand_eval;
  35. struct scm *cell_vm_begin_expand_macro;
  36. struct scm *cell_vm_begin_expand_primitive_load;
  37. struct scm *cell_vm_begin_primitive_load;
  38. struct scm *cell_vm_begin_read_input_file;
  39. struct scm *cell_vm_call_with_current_continuation2;
  40. struct scm *cell_vm_call_with_values2;
  41. struct scm *cell_vm_eval;
  42. struct scm *cell_vm_eval2;
  43. struct scm *cell_vm_eval_check_func;
  44. struct scm *cell_vm_eval_define;
  45. struct scm *cell_vm_eval_macro_expand_eval;
  46. struct scm *cell_vm_eval_macro_expand_expand;
  47. struct scm *cell_vm_eval_pmatch_car;
  48. struct scm *cell_vm_eval_pmatch_cdr;
  49. struct scm *cell_vm_eval_set_x;
  50. struct scm *cell_vm_evlis;
  51. struct scm *cell_vm_evlis2;
  52. struct scm *cell_vm_evlis3;
  53. struct scm *cell_vm_if;
  54. struct scm *cell_vm_if_expr;
  55. struct scm *cell_vm_macro_expand;
  56. struct scm *cell_vm_macro_expand_car;
  57. struct scm *cell_vm_macro_expand_cdr;
  58. struct scm *cell_vm_macro_expand_define;
  59. struct scm *cell_vm_macro_expand_define_macro;
  60. struct scm *cell_vm_macro_expand_lambda;
  61. struct scm *cell_vm_macro_expand_set_x;
  62. struct scm *cell_vm_return;
  63. struct scm *cell_symbol_lambda;
  64. struct scm *cell_symbol_begin;
  65. struct scm *cell_symbol_if;
  66. struct scm *cell_symbol_quote;
  67. struct scm *cell_symbol_define;
  68. struct scm *cell_symbol_define_macro;
  69. struct scm *cell_symbol_quasiquote;
  70. struct scm *cell_symbol_unquote;
  71. struct scm *cell_symbol_unquote_splicing;
  72. struct scm *cell_symbol_syntax;
  73. struct scm *cell_symbol_quasisyntax;
  74. struct scm *cell_symbol_unsyntax;
  75. struct scm *cell_symbol_unsyntax_splicing;
  76. struct scm *cell_symbol_set_x;
  77. struct scm *cell_symbol_sc_expand;
  78. struct scm *cell_symbol_macro_expand;
  79. struct scm *cell_symbol_portable_macro_expand;
  80. struct scm *cell_symbol_sc_expander_alist;
  81. struct scm *cell_symbol_call_with_values;
  82. struct scm *cell_symbol_call_with_current_continuation;
  83. struct scm *cell_symbol_boot_module;
  84. struct scm *cell_symbol_current_module;
  85. struct scm *cell_symbol_primitive_load;
  86. struct scm *cell_symbol_car;
  87. struct scm *cell_symbol_cdr;
  88. struct scm *cell_symbol_not_a_number;
  89. struct scm *cell_symbol_not_a_pair;
  90. struct scm *cell_symbol_system_error;
  91. struct scm *cell_symbol_throw;
  92. struct scm *cell_symbol_unbound_variable;
  93. struct scm *cell_symbol_wrong_number_of_args;
  94. struct scm *cell_symbol_wrong_type_arg;
  95. struct scm *cell_symbol_buckets;
  96. struct scm *cell_symbol_builtin;
  97. struct scm *cell_symbol_frame;
  98. struct scm *cell_symbol_hashq_table;
  99. struct scm *cell_symbol_module;
  100. struct scm *cell_symbol_procedure;
  101. struct scm *cell_symbol_record_type;
  102. struct scm *cell_symbol_size;
  103. struct scm *cell_symbol_stack;
  104. struct scm *cell_symbol_argv;
  105. struct scm *cell_symbol_mes_datadir;
  106. struct scm *cell_symbol_mes_version;
  107. struct scm *cell_symbol_internal_time_units_per_second;
  108. struct scm *cell_symbol_compiler;
  109. struct scm *cell_symbol_arch;
  110. struct scm *cell_symbol_pmatch_car;
  111. struct scm *cell_symbol_pmatch_cdr;
  112. struct scm *cell_type_bytes;
  113. struct scm *cell_type_char;
  114. struct scm *cell_type_closure;
  115. struct scm *cell_type_continuation;
  116. struct scm *cell_type_function;
  117. struct scm *cell_type_keyword;
  118. struct scm *cell_type_macro;
  119. struct scm *cell_type_number;
  120. struct scm *cell_type_pair;
  121. struct scm *cell_type_port;
  122. struct scm *cell_type_ref;
  123. struct scm *cell_type_special;
  124. struct scm *cell_type_string;
  125. struct scm *cell_type_struct;
  126. struct scm *cell_type_symbol;
  127. struct scm *cell_type_values;
  128. struct scm *cell_type_variable;
  129. struct scm *cell_type_vector;
  130. struct scm *cell_type_broken_heart;
  131. struct scm *cell_symbol_program;
  132. struct scm *cell_symbol_test;
  133. #define SYMBOL_MAX 114
  134. #define CELL_UNSPECIFIED 7
  135. #define CELL_SYMBOL_RECORD_TYPE 82