remove math.blas.syntax and merge parsing words into math.blas.vectors/matrices
[factor/jcg.git] / vm / primitives.c
blob2bce9eedb7659d4e85fe829d784155d5600bc30d
1 #include "master.h"
3 void *primitives[] = {
4 primitive_bignum_to_fixnum,
5 primitive_float_to_fixnum,
6 primitive_fixnum_to_bignum,
7 primitive_float_to_bignum,
8 primitive_fixnum_to_float,
9 primitive_bignum_to_float,
10 primitive_from_fraction,
11 primitive_str_to_float,
12 primitive_float_to_str,
13 primitive_float_bits,
14 primitive_double_bits,
15 primitive_bits_float,
16 primitive_bits_double,
17 primitive_from_rect,
18 primitive_fixnum_add,
19 primitive_fixnum_subtract,
20 primitive_fixnum_multiply,
21 primitive_fixnum_divint,
22 primitive_fixnum_divmod,
23 primitive_fixnum_shift,
24 primitive_bignum_eq,
25 primitive_bignum_add,
26 primitive_bignum_subtract,
27 primitive_bignum_multiply,
28 primitive_bignum_divint,
29 primitive_bignum_mod,
30 primitive_bignum_divmod,
31 primitive_bignum_and,
32 primitive_bignum_or,
33 primitive_bignum_xor,
34 primitive_bignum_not,
35 primitive_bignum_shift,
36 primitive_bignum_less,
37 primitive_bignum_lesseq,
38 primitive_bignum_greater,
39 primitive_bignum_greatereq,
40 primitive_bignum_bitp,
41 primitive_bignum_log2,
42 primitive_byte_array_to_bignum,
43 primitive_float_eq,
44 primitive_float_add,
45 primitive_float_subtract,
46 primitive_float_multiply,
47 primitive_float_divfloat,
48 primitive_float_mod,
49 primitive_float_less,
50 primitive_float_lesseq,
51 primitive_float_greater,
52 primitive_float_greatereq,
53 primitive_word,
54 primitive_word_xt,
55 primitive_getenv,
56 primitive_setenv,
57 primitive_existsp,
58 primitive_gc,
59 primitive_gc_stats,
60 primitive_save_image,
61 primitive_save_image_and_exit,
62 primitive_datastack,
63 primitive_retainstack,
64 primitive_callstack,
65 primitive_set_datastack,
66 primitive_set_retainstack,
67 primitive_set_callstack,
68 primitive_exit,
69 primitive_data_room,
70 primitive_code_room,
71 primitive_micros,
72 primitive_modify_code_heap,
73 primitive_dlopen,
74 primitive_dlsym,
75 primitive_dlclose,
76 primitive_byte_array,
77 primitive_uninitialized_byte_array,
78 primitive_displaced_alien,
79 primitive_alien_signed_cell,
80 primitive_set_alien_signed_cell,
81 primitive_alien_unsigned_cell,
82 primitive_set_alien_unsigned_cell,
83 primitive_alien_signed_8,
84 primitive_set_alien_signed_8,
85 primitive_alien_unsigned_8,
86 primitive_set_alien_unsigned_8,
87 primitive_alien_signed_4,
88 primitive_set_alien_signed_4,
89 primitive_alien_unsigned_4,
90 primitive_set_alien_unsigned_4,
91 primitive_alien_signed_2,
92 primitive_set_alien_signed_2,
93 primitive_alien_unsigned_2,
94 primitive_set_alien_unsigned_2,
95 primitive_alien_signed_1,
96 primitive_set_alien_signed_1,
97 primitive_alien_unsigned_1,
98 primitive_set_alien_unsigned_1,
99 primitive_alien_float,
100 primitive_set_alien_float,
101 primitive_alien_double,
102 primitive_set_alien_double,
103 primitive_alien_cell,
104 primitive_set_alien_cell,
105 primitive_throw,
106 primitive_alien_address,
107 primitive_set_slot,
108 primitive_string_nth,
109 primitive_set_string_nth_fast,
110 primitive_set_string_nth_slow,
111 primitive_resize_array,
112 primitive_resize_string,
113 primitive_array,
114 primitive_begin_scan,
115 primitive_next_object,
116 primitive_end_scan,
117 primitive_size,
118 primitive_die,
119 primitive_fopen,
120 primitive_fgetc,
121 primitive_fread,
122 primitive_fputc,
123 primitive_fwrite,
124 primitive_fflush,
125 primitive_fclose,
126 primitive_wrapper,
127 primitive_clone,
128 primitive_string,
129 primitive_array_to_quotation,
130 primitive_quotation_xt,
131 primitive_tuple,
132 primitive_profiling,
133 primitive_become,
134 primitive_sleep,
135 primitive_tuple_boa,
136 primitive_callstack_to_array,
137 primitive_innermost_stack_frame_quot,
138 primitive_innermost_stack_frame_scan,
139 primitive_set_innermost_stack_frame_quot,
140 primitive_call_clear,
141 primitive_resize_byte_array,
142 primitive_dll_validp,
143 primitive_unimplemented,
144 primitive_clear_gc_stats,
145 primitive_jit_compile,
146 primitive_load_locals,