-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathlibraries_r7rs.rs
1125 lines (800 loc) · 50.2 KB
/
libraries_r7rs.rs
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
use super::contexts::exports::*;
use super::errors::exports::*;
use super::primitives::exports::*;
use super::values::exports::*;
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
use super::extended_procedures::exports::*;
use super::prelude::*;
pub mod exports {
pub use super::generate_binding_templates as library_r7rs_generate_binding_templates;
pub use super::generate_definitions as library_r7rs_generate_definitions;
pub use super::verify_definitions as library_r7rs_verify_definitions;
}
#[ cfg ( feature = "vonuvoli_transcript" ) ]
def_transcript! (transcript);
pub fn generate_binding_templates () -> (Outcome<StdVec<BindingTemplate>>) {
let definitions = r#try! (generate_definitions ());
let definitions = vec_map_into! (
definitions,
(_library, _category, identifier, value),
(identifier, value));
let definitions =
definitions
.into_iter ()
.collect::<StdMap<_, _>> ();
let templates = vec_map_into! (
definitions,
(identifier, value),
BindingTemplate {
identifier : Some (identifier),
value : Some (value),
immutable : true,
}
);
succeed! (templates);
}
pub fn generate_definitions () -> (Outcome<StdVec<(Symbol, Symbol, Symbol, Value)>>) {
let definitions = vec! [
// https://wiki.volution.ro/CiprianDorinCraciun/Notes/Public/R7rs/Identifiers
// https://bitbucket.org/cowan/r7rs-wg1-infra/raw/default/SmallLanguageIdentifiers.md
// !!!
("base", "syntaxes", "_", SyntaxPrimitive::Auxiliary.into ()),
("base", "syntaxes", "...", SyntaxPrimitive::Auxiliary.into ()),
("base", "syntaxes", "=>", SyntaxPrimitive::Auxiliary.into ()),
("base", "syntaxes", "else", SyntaxPrimitive::Auxiliary.into ()),
("base", "quotation", "quote", SyntaxPrimitiveV::Quote.into ()),
("base", "quotation", "quasiquote", SyntaxPrimitiveV::QuasiQuote.into ()),
("base", "quotation", "unquote", SyntaxPrimitiveV::UnQuote.into ()),
("base", "quotation", "unquote-splicing", SyntaxPrimitiveV::UnQuoteSplicing.into ()),
("base", "control", "begin", SyntaxPrimitiveV::Begin.into ()),
("base", "control", "if", SyntaxPrimitiveV::If.into ()),
("base", "control", "unless", SyntaxPrimitiveV::Unless.into ()),
("base", "control", "when", SyntaxPrimitiveV::When.into ()),
("base", "control", "cond", SyntaxPrimitiveV::Cond.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "control", "case", SyntaxPrimitiveV::Case.into ()),
("base", "control", "do", SyntaxPrimitiveV::Do.into ()),
("base", "control", "and", SyntaxPrimitiveV::And.into ()),
("base", "control", "or", SyntaxPrimitiveV::Or.into ()),
#[ cfg ( feature = "vonuvoli_expressions" ) ]
#[ cfg ( feature = "vonuvoli_values_lambda" ) ]
("base", "lambda", "lambda", SyntaxPrimitiveV::Lambda.into ()),
("base", "contexts", "define", SyntaxPrimitiveV::Define.into ()),
#[ cfg ( feature = "vonuvoli_values_values" ) ]
("base", "values", "define-values", SyntaxPrimitiveV::DefineValues.into ()),
("base", "syntaxes", "define-syntax", SyntaxPrimitive::Unsupported.into ()),
#[ cfg ( feature = "vonuvoli_builtins_records" ) ]
("base", "records", "define-record-type", SyntaxPrimitiveV::DefineRecord.into ()),
("base", "contexts", "let", SyntaxPrimitiveV::LetParallel.into ()),
("base", "contexts", "let*", SyntaxPrimitiveV::LetSequential.into ()),
("base", "contexts", "letrec", SyntaxPrimitiveV::LetRecursiveParallel.into ()),
("base", "contexts", "letrec*", SyntaxPrimitiveV::LetRecursiveSequential.into ()),
#[ cfg ( feature = "vonuvoli_values_values" ) ]
("base", "values", "let-values", SyntaxPrimitiveV::LetValuesParallel.into ()),
#[ cfg ( feature = "vonuvoli_values_values" ) ]
("base", "values", "let*-values", SyntaxPrimitiveV::LetValuesSequential.into ()),
("base", "syntaxes", "let-syntax", SyntaxPrimitive::Unsupported.into ()),
("base", "syntaxes", "letrec-syntax", SyntaxPrimitive::Unsupported.into ()),
("base", "contexts", "set!", SyntaxPrimitiveV::Set.into ()),
("base", "modules", "import", SyntaxPrimitive::Unsupported.into ()),
("base", "modules", "include", SyntaxPrimitive::Unsupported.into ()),
("base", "modules", "include-ci", SyntaxPrimitive::Unsupported.into ()),
("base", "modules", "cond-expand", SyntaxPrimitive::Unsupported.into ()),
#[ cfg ( feature = "vonuvoli_builtins_parameters" ) ]
("base", "parameters", "parameterize", SyntaxPrimitiveV::LetParameters.into ()),
#[ cfg ( feature = "vonuvoli_builtins_parameters" ) ]
("base", "parameters", "make-parameter", RuntimePrimitiveV::ParameterBuild.into ()),
("base", "syntaxes", "syntax-error", SyntaxPrimitive::Unsupported.into ()),
("base", "syntaxes", "syntax-rules", SyntaxPrimitive::Unsupported.into ()),
#[ cfg ( feature = "vonuvoli_values_error" ) ]
("base", "evaluator", "guard", SyntaxPrimitiveV::GuardCond.into ()),
// ???
("base", "modules", "features", ProcedurePrimitive::Unsupported.into ()),
("base", "types", "null?", TypePrimitiveV::IsNull.into ()),
// equivalences
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "equivalence", "eq?", ComparisonPrimitiveV::EquivalentByIdentity.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "equivalence", "eqv?", ComparisonPrimitiveV::EquivalentByValueStrict.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "equivalence", "equal?", ComparisonPrimitiveV::EquivalentByValueStrictRecursive.into ()),
// math
("base", "types", "number?", TypePrimitiveV::IsNumber.into ()),
("base", "types", "integer?", TypePrimitiveV::IsNumberInteger.into ()),
("base", "types", "real?", TypePrimitiveV::IsNumberReal.into ()),
("base", "types", "rational?", TypePrimitiveV::IsNumberRational.into ()),
("base", "types", "complex?", TypePrimitiveV::IsNumberComplex.into ()),
("base", "types", "exact?", TypePrimitiveV::IsNumberExact.into ()),
("base", "types", "exact-integer?", TypePrimitiveV::IsNumberExactInteger.into ()),
("base", "types", "inexact?", TypePrimitiveV::IsNumberInexact.into ()),
("base", "arithmetic", "zero?", TypePrimitiveV::IsNumberZero.into ()),
("base", "arithmetic", "positive?", TypePrimitiveV::IsNumberPositive.into ()),
("base", "arithmetic", "negative?", TypePrimitiveV::IsNumberNegative.into ()),
("base", "arithmetic", "odd?", TypePrimitiveV::IsNumberOdd.into ()),
("base", "arithmetic", "even?", TypePrimitiveV::IsNumberEven.into ()),
("base", "arithmetic", "+", ArithmeticPrimitiveV::Addition.into ()),
("base", "arithmetic", "-", ArithmeticPrimitiveV::Subtraction.into ()),
("base", "arithmetic", "*", ArithmeticPrimitiveV::Multiplication.into ()),
("base", "arithmetic", "/", ArithmeticPrimitiveV::Division.into ()),
("base", "arithmetic", "abs", ArithmeticPrimitive1::Absolute.into ()),
("base", "arithmetic", "quotient", ArithmeticPrimitive2::DivisionTruncateQuotient.into ()),
("base", "arithmetic", "remainder", ArithmeticPrimitive2::DivisionTruncateRemainder.into ()),
("base", "arithmetic", "modulo", ArithmeticPrimitive2::DivisionFloorRemainder.into ()),
("base", "arithmetic", "floor", ArithmeticPrimitive1::Floor.into ()),
("base", "arithmetic", "ceiling", ArithmeticPrimitive1::Ceiling.into ()),
("base", "arithmetic", "truncate", ArithmeticPrimitive1::Truncate.into ()),
("base", "arithmetic", "round", ArithmeticPrimitive1::Round.into ()),
("base", "arithmetic", "rationalize", ProcedurePrimitive::Unsupported.into ()),
("base", "arithmetic", "numerator", ProcedurePrimitive::Unsupported.into ()),
("base", "arithmetic", "denominator", ProcedurePrimitive::Unsupported.into ()),
("base", "arithmetic", "floor/", ArithmeticPrimitive2::DivisionFloor.into ()),
("base", "arithmetic", "floor-quotient", ArithmeticPrimitive2::DivisionFloorQuotient.into ()),
("base", "arithmetic", "floor-remainder", ArithmeticPrimitive2::DivisionFloorRemainder.into ()),
#[ cfg ( feature = "vonuvoli_values_values" ) ]
("base", "arithmetic", "truncate/", ArithmeticPrimitive2::DivisionTruncate.into ()),
("base", "arithmetic", "truncate-quotient", ArithmeticPrimitive2::DivisionTruncateQuotient.into ()),
("base", "arithmetic", "truncate-remainder", ArithmeticPrimitive2::DivisionTruncateRemainder.into ()),
("base", "arithmetic", "min", ArithmeticPrimitiveV::Minimum.into ()),
("base", "arithmetic", "max", ArithmeticPrimitiveV::Maximum.into ()),
("base", "arithmetic", "gcd", ArithmeticPrimitiveV::GreatestCommonDivisor.into ()),
("base", "arithmetic", "lcm", ArithmeticPrimitiveV::LeastCommonMultiple.into ()),
("base", "arithmetic", "expt", ArithmeticPrimitive2::Power.into ()),
("base", "arithmetic", "square", ArithmeticPrimitive1::Square.into ()),
("base", "arithmetic", "exact-integer-sqrt", ArithmeticPrimitive1::SquareRootWithRemainder.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "arithmetic", "=", ComparisonPrimitiveV::NumberEqual.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "arithmetic", "<", ComparisonPrimitiveV::NumberLesser.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "arithmetic", ">", ComparisonPrimitiveV::NumberGreater.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "arithmetic", "<=", ComparisonPrimitiveV::NumberLesserOrEqual.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "arithmetic", ">=", ComparisonPrimitiveV::NumberGreaterOrEqual.into ()),
("base", "arithmetic", "inexact", ArithmeticPrimitive1::CoerceToInexact.into ()),
("base", "arithmetic", "exact", ArithmeticPrimitive1::CoerceToExact.into ()),
// boolean
("base", "types", "boolean?", TypePrimitiveV::IsBoolean.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "equivalence", "boolean=?", ComparisonPrimitiveV::BooleanEqual.into ()),
("base", "equivalence", "not", TypePrimitive1::IsFalse.into ()),
// characters
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "types", "char?", TypePrimitiveV::IsCharacter.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "characters", "char=?", ComparisonPrimitiveV::CharacterCaseSensitiveEqual.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "characters", "char<?", ComparisonPrimitiveV::CharacterCaseSensitiveLesser.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "characters", "char>?", ComparisonPrimitiveV::CharacterCaseSensitiveGreater.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "characters", "char<=?", ComparisonPrimitiveV::CharacterCaseSensitiveLesserOrEqual.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "characters", "char>=?", ComparisonPrimitiveV::CharacterCaseSensitiveGreaterOrEqual.into ()),
// symbols
("base", "types", "symbol?", TypePrimitiveV::IsSymbol.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "equivalence", "symbol=?", ComparisonPrimitiveV::SymbolCaseSensitiveEqual.into ()),
// pairs
("base", "types", "pair?", TypePrimitiveV::IsPair.into ()),
("base", "pairs", "cons", ListPrimitive2::PairCons.into ()),
("base", "pairs", "car", ListPrimitive1::PairLeft.into ()),
("base", "pairs", "cdr", ListPrimitive1::PairRight.into ()),
#[ cfg ( feature = "vonuvoli_values_mutable" ) ]
("base", "pairs", "set-car!", ListPrimitive2::PairLeftSet.into ()),
#[ cfg ( feature = "vonuvoli_values_mutable" ) ]
("base", "pairs", "set-cdr!", ListPrimitive2::PairRightSet.into ()),
("base", "pairs", "caar", ListPrimitive1::ListFirstOfFirst.into ()),
("base", "pairs", "cdar", ListPrimitive1::ListRestOfFirst.into ()),
("base", "pairs", "cadr", ListPrimitive1::ListFirstAt2.into ()),
("base", "pairs", "cddr", ListPrimitive1::ListRestAt2.into ()),
// lists
("base", "types", "list?", TypePrimitiveV::IsListProperOrEmpty.into ()),
("base", "lists", "list", ListPrimitiveV::ListBuild.into ()),
("base", "lists", "make-list", ListPrimitiveV::ListMake.into ()),
("base", "lists", "list-copy", ListPrimitiveV::ListRangeClone.into ()),
("base", "lists", "append", ListPrimitiveV::ListAppend.into ()),
("base", "lists", "length", ListPrimitive1::ListLength.into ()),
("base", "lists", "list-ref", ListPrimitive2::ListFirstAt.into ()),
("base", "lists", "list-tail", ListPrimitive2::ListPairAt.into ()),
#[ cfg ( feature = "vonuvoli_values_mutable" ) ]
("base", "lists", "list-set!", ListPrimitive3::ListFirstAtSet.into ()),
("base", "lists", "reverse", ListPrimitive1::ListCloneReverse.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "lists", "memq", ListPrimitive2::ListMemberByIdentity.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "lists", "memv", ListPrimitive2::ListMemberByValue.into ()),
("base", "lists", "member", ListPrimitiveV::ListMember.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "lists", "assq", ListPrimitive2::ListAssocByIdentity.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
("base", "lists", "assv", ListPrimitive2::ListAssocByValue.into ()),
("base", "lists", "assoc", ListPrimitiveV::ListAssoc.into ()),
// vectors
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "types", "vector?", TypePrimitiveV::IsArray.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "vectors", "vector", ArrayPrimitiveV::ArrayBuild.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "vectors", "make-vector", ArrayPrimitiveV::ArrayMake.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "vectors", "vector-copy", ArrayPrimitiveV::ArrayRangeClone.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "vectors", "vector-append", ArrayPrimitiveV::ArrayAppend.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "vectors", "vector-length", ArrayPrimitive1::ArrayLength.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "vectors", "vector-ref", ArrayPrimitive2::ArrayAt.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
#[ cfg ( feature = "vonuvoli_values_mutable" ) ]
("base", "vectors", "vector-set!", ArrayPrimitive3::ArrayAtSet.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
#[ cfg ( feature = "vonuvoli_values_mutable" ) ]
("base", "vectors", "vector-fill!", ArrayPrimitiveV::ArrayRangeFill.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
#[ cfg ( feature = "vonuvoli_values_mutable" ) ]
("base", "vectors", "vector-copy!", ArrayPrimitiveV::ArrayRangeCopy.into ()),
// bytevectors
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "types", "bytevector?", TypePrimitiveV::IsBytes.into ()),
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "bytes", "bytevector", BytesPrimitiveV::BytesBuild.into ()),
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "bytes", "make-bytevector", BytesPrimitiveV::BytesMake.into ()),
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "bytes", "bytevector-copy", BytesPrimitiveV::BytesRangeClone.into ()),
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "bytes", "bytevector-append", BytesPrimitiveV::BytesAppend.into ()),
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "bytes", "bytevector-length", BytesPrimitive1::BytesLength.into ()),
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "bytes", "bytevector-u8-ref", BytesPrimitive2::BytesAt.into ()),
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
#[ cfg ( feature = "vonuvoli_values_mutable" ) ]
("base", "bytes", "bytevector-u8-set!", BytesPrimitive3::BytesAtSet.into ()),
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
#[ cfg ( feature = "vonuvoli_values_mutable" ) ]
("base", "bytes", "bytevector-copy!", BytesPrimitiveV::BytesRangeCopy.into ()),
// strings
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "types", "string?", TypePrimitiveV::IsString.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string", StringPrimitiveV::StringBuild.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "make-string", StringPrimitiveV::StringMake.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string-copy", StringPrimitiveV::StringRangeClone.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string-append", StringPrimitiveV::StringAppend.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string-length", StringPrimitive1::StringLength.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string-ref", StringPrimitive2::StringAt.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
#[ cfg ( feature = "vonuvoli_values_mutable" ) ]
("base", "strings", "string-set!", StringPrimitive3::StringAtSet.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
#[ cfg ( feature = "vonuvoli_values_mutable" ) ]
("base", "strings", "string-fill!", StringPrimitiveV::StringRangeFill.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
#[ cfg ( feature = "vonuvoli_values_mutable" ) ]
("base", "strings", "string-copy!", StringPrimitiveV::StringRangeCopy.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "substring", StringPrimitiveV::StringRangeClone.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string=?", ComparisonPrimitiveV::StringCaseSensitiveEqual.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string<?", ComparisonPrimitiveV::StringCaseSensitiveLesser.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string>?", ComparisonPrimitiveV::StringCaseSensitiveGreater.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string<=?", ComparisonPrimitiveV::StringCaseSensitiveLesserOrEqual.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string>=?", ComparisonPrimitiveV::StringCaseSensitiveGreaterOrEqual.into ()),
// converters to and from strings
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "number->string", StringPrimitiveV::NumberToString.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string->number", StringPrimitiveV::StringToNumber.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "symbol->string", StringPrimitive1::SymbolToString.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string->symbol", StringPrimitive1::StringToSymbol.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "list->string", StringPrimitiveV::ListRangeToString.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "strings", "string->list", StringPrimitiveV::StringRangeToList.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "strings", "utf8->string", StringPrimitiveV::BytesRangeToString.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "strings", "string->utf8", StringPrimitiveV::StringRangeToBytes.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "strings", "vector->string", StringPrimitiveV::ArrayRangeToString.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "strings", "string->vector", StringPrimitiveV::StringRangeToArray.into ()),
// converters miscellaneous
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "characters", "char->integer", StringPrimitive1::CharacterToNumber.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "characters", "integer->char", StringPrimitive1::NumberToCharacter.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "vectors", "vector->list", ArrayPrimitiveV::ArrayRangeToList.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "vectors", "list->vector", ArrayPrimitiveV::ListRangeToArray.into ()),
// ???
("base", "types", "procedure?", TypePrimitiveV::IsProcedure.into ()),
("base", "functions", "apply", FunctionsPrimitiveV::Apply.into ()),
("base", "functions", "map", FunctionsPrimitiveV::ListsMap.into ()),
("base", "functions", "for-each", FunctionsPrimitiveV::ListsIterate.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "functions", "vector-map", FunctionsPrimitiveV::ArraysMap.into ()),
#[ cfg ( feature = "vonuvoli_values_array" ) ]
("base", "functions", "vector-for-each", FunctionsPrimitiveV::ArraysIterate.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "functions", "string-map", FunctionsPrimitiveV::StringsMap.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "functions", "string-for-each", FunctionsPrimitiveV::StringsIterate.into ()),
#[ cfg ( feature = "vonuvoli_values_values" ) ]
("base", "values", "values", FunctionsPrimitiveV::Values.into ()),
#[ cfg ( feature = "vonuvoli_values_values" ) ]
("base", "values", "call-with-values", FunctionsPrimitive2::CallWithValuesBuilder.into ()),
("base", "evaluator", "call-with-current-continuation", ProcedurePrimitive::Unsupported.into ()),
("base", "evaluator", "call/cc", ProcedurePrimitive::Unsupported.into ()),
("base", "evaluator", "dynamic-wind", ProcedurePrimitive::Unsupported.into ()),
// ???
#[ cfg ( feature = "vonuvoli_values_error" ) ]
("base", "errors", "raise", RuntimePrimitive1::ValueRaise.into ()),
#[ cfg ( feature = "vonuvoli_values_error" ) ]
("base", "evaluator", "raise-continuable", ProcedurePrimitive::Unsupported.into ()),
#[ cfg ( feature = "vonuvoli_values_error" ) ]
("base", "errors", "error", RuntimePrimitiveV::ErrorRaise.into ()),
#[ cfg ( feature = "vonuvoli_values_error" ) ]
("base", "errors", "error-object?", TypePrimitiveV::IsError.into ()),
#[ cfg ( feature = "vonuvoli_values_error" ) ]
("base", "errors", "error-object-message", RuntimePrimitive1::ErrorMessage.into ()),
#[ cfg ( feature = "vonuvoli_values_error" ) ]
("base", "errors", "error-object-irritants", RuntimePrimitive1::ErrorArgumentsAsList.into ()),
#[ cfg ( feature = "vonuvoli_values_error" ) ]
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "errors", "read-error?", TypePrimitiveV::IsErrorPortInput.into ()),
#[ cfg ( feature = "vonuvoli_values_error" ) ]
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "errors", "file-error?", TypePrimitiveV::IsErrorFile.into ()),
#[ cfg ( feature = "vonuvoli_values_error" ) ]
("base", "evaluator", "with-exception-handler", ProcedurePrimitive::Unsupported.into ()),
// ports
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "call-with-port", PortPrimitive2::CallAndClose.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "parameters", "current-input-port", PortPrimitive0::CurrentInput.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "parameters", "current-output-port", PortPrimitive0::CurrentOutput.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "parameters", "current-error-port", PortPrimitive0::CurrentError.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "port?", TypePrimitiveV::IsPort.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "input-port?", TypePrimitiveV::IsPortInput.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "input-port-open?", PortPrimitiveV::IsInputOpen.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "output-port?", TypePrimitiveV::IsPortOutput.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "output-port-open?", PortPrimitiveV::IsOutputOpen.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "binary-port?", TypePrimitiveV::IsPortBinary.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "textual-port?", TypePrimitiveV::IsPortTextual.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "ports", "open-input-string", PortPrimitive1::InputFromString.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "ports", "open-output-string", PortPrimitiveV::OutputToString.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "ports", "get-output-string", PortPrimitive1::OutputToStringFinalize.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "ports", "open-input-bytevector", PortPrimitive1::InputFromBytes.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "ports", "open-output-bytevector", PortPrimitiveV::OutputToBytes.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "ports", "get-output-bytevector", PortPrimitive1::OutputToBytesFinalize.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "close-port", PortPrimitiveV::Close.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "close-input-port", PortPrimitiveV::CloseInput.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "close-output-port", PortPrimitiveV::CloseOutput.into ()),
// ports input
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "ports", "char-ready?", PortPrimitiveV::CharacterReady.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "ports", "peek-char", PortPrimitiveV::CharacterPeek.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "ports", "read-char", PortPrimitiveV::CharacterRead.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "ports", "read-string", PortPrimitiveV::StringReadCollect.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "ports", "u8-ready?", PortPrimitiveV::ByteReady.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "ports", "peek-u8", PortPrimitiveV::BytePeek.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "ports", "read-u8", PortPrimitiveV::ByteRead.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "ports", "read-bytevector", PortPrimitiveV::BytesReadCollect.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
#[ cfg ( feature = "vonuvoli_values_mutable" ) ]
("base", "ports", "read-bytevector!", PortPrimitiveV::BytesReadCopy.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "ports", "read-line", PortPrimitiveV::StringReadLine.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "eof-object", PortPrimitive0::Eof.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "eof-object?", TypePrimitiveV::IsPortEof.into ()),
// ports output
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "ports", "write-char", PortPrimitiveV::CharacterWrite.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("base", "ports", "write-string", PortPrimitiveV::StringWrite.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "ports", "write-u8", PortPrimitiveV::ByteWrite.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_values_bytes" ) ]
("base", "ports", "write-bytevector", PortPrimitiveV::BytesWrite.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "newline", PortPrimitiveV::NewLine.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("base", "ports", "flush-output-port", PortPrimitiveV::FlushOutput.into ()),
// (scheme case-lambda)
// --> verified
#[ cfg ( feature = "vonuvoli_expressions" ) ]
#[ cfg ( feature = "vonuvoli_values_lambda" ) ]
("case-lambda", "lambda", "case-lambda", SyntaxPrimitive::Unsupported.into ()),
// (scheme char)
// --> verified
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "strings", "string-upcase", StringPrimitive1::StringToUpperCase.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "strings", "string-downcase", StringPrimitive1::StringToLowerCase.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "strings", "string-foldcase", StringPrimitive1::StringToFoldCase.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "strings", "string-ci=?", ComparisonPrimitiveV::StringCaseInsensitiveEqual.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "strings", "string-ci<?", ComparisonPrimitiveV::StringCaseInsensitiveLesser.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "strings", "string-ci>?", ComparisonPrimitiveV::StringCaseInsensitiveGreater.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "strings", "string-ci<=?", ComparisonPrimitiveV::StringCaseInsensitiveLesserOrEqual.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "strings", "string-ci>=?", ComparisonPrimitiveV::StringCaseInsensitiveGreaterOrEqual.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-alphabetic?", TypePrimitiveV::IsCharacterAlphabetic.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-upper-case?", TypePrimitiveV::IsCharacterAlphabeticUpperCase.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-lower-case?", TypePrimitiveV::IsCharacterAlphabeticLowerCase.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-numeric?", TypePrimitiveV::IsCharacterNumeric.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-whitespace?", TypePrimitiveV::IsCharacterWhitespace.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-upcase", StringPrimitive1::CharacterToUpperCase.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-downcase", StringPrimitive1::CharacterToLowerCase.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-foldcase", StringPrimitive1::CharacterToFoldCase.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-ci=?", ComparisonPrimitiveV::CharacterCaseInsensitiveEqual.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-ci<?", ComparisonPrimitiveV::CharacterCaseInsensitiveLesser.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-ci>?", ComparisonPrimitiveV::CharacterCaseInsensitiveGreater.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-ci<=?", ComparisonPrimitiveV::CharacterCaseInsensitiveLesserOrEqual.into ()),
#[ cfg ( feature = "vonuvoli_builtins_comparisons" ) ]
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "char-ci>=?", ComparisonPrimitiveV::CharacterCaseInsensitiveGreaterOrEqual.into ()),
#[ cfg ( feature = "vonuvoli_values_string" ) ]
("char", "characters", "digit-value", StringPrimitiveV::CharacterToDigitNumber.into ()),
// (scheme complex)
// --> verified
("complex", "arithmetic", "make-rectangular", ProcedurePrimitive::Unsupported.into ()),
("complex", "arithmetic", "real-part", ProcedurePrimitive::Unsupported.into ()),
("complex", "arithmetic", "imag-part", ProcedurePrimitive::Unsupported.into ()),
("complex", "arithmetic", "make-polar", ProcedurePrimitive::Unsupported.into ()),
("complex", "arithmetic", "magnitude", ProcedurePrimitive::Unsupported.into ()),
("complex", "arithmetic", "angle", ProcedurePrimitive::Unsupported.into ()),
// (scheme cxr)
// --> verified
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "caaar", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "caadr", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cadar", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "caddr", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cdaar", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cdadr", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cddar", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cdddr", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "caaaar", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "caaadr", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "caadar", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "caaddr", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cadaar", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cadadr", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "caddar", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cadddr", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cdaaar", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cdaadr", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cdadar", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cdaddr", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cddaar", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairLeft.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cddadr", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into (), ListPrimitive1::PairRight.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cdddar", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairLeft.into ()])) .into ()),
#[ cfg ( feature = "vonuvoli_values_extended" ) ]
("cxr", "pairs", "cddddr", ProcedureExtendedInternals::ComposedPrimitive1 (StdBox::new ([ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into (), ListPrimitive1::PairRight.into ()])) .into ()),
// (scheme eval)
// --> verified
("eval", "evaluator", "environment", ProcedurePrimitive::Unimplemented.into ()),
("eval", "evaluator", "eval", ProcedurePrimitive::Unimplemented.into ()),
// (scheme file)
// --> verified
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("file", "ports", "open-input-file", PortPrimitive1::OpenTextualInput.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("file", "ports", "open-binary-input-file", PortPrimitive1::OpenBinaryInput.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("file", "ports", "open-output-file", PortPrimitive1::OpenTextualOutput.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("file", "ports", "open-binary-output-file", PortPrimitive1::OpenBinaryOutput.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("file", "ports", "call-with-input-file", PortPrimitive2::OpenTextualInputThenCallAndClose.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
("file", "ports", "call-with-output-file", PortPrimitive2::OpenTextualOutputThenCallAndClose.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_builtins_parameters" ) ]
#[ cfg ( feature = "vonuvoli_evaluator" ) ]
("file", "parameters", "with-input-from-file", PortPrimitive2::WithOpenTextualInputThenCallAndClose.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_builtins_parameters" ) ]
#[ cfg ( feature = "vonuvoli_evaluator" ) ]
("file", "parameters", "with-output-to-file", PortPrimitive2::WithOpenTextualOutputThenCallAndClose.into ()),
#[ cfg ( feature = "vonuvoli_builtins_filesystem" ) ]
("file", "system", "file-exists?", FileSystemPrimitive1::FileExists.into ()),
#[ cfg ( feature = "vonuvoli_builtins_filesystem" ) ]
("file", "system", "delete-file", FileSystemPrimitive1::FileDelete.into ()),
// (scheme inexact)
// --> verified
("inexact", "arithmetic", "sqrt", ArithmeticPrimitive1::SquareRoot.into ()),
("inexact", "arithmetic", "exp", ArithmeticPrimitive1::Exponential.into ()),
("inexact", "arithmetic", "log", ArithmeticPrimitive1::Logarithm.into ()),
("inexact", "arithmetic", "sin", ArithmeticPrimitive1::Sin.into ()),
("inexact", "arithmetic", "cos", ArithmeticPrimitive1::Cos.into ()),
("inexact", "arithmetic", "tan", ArithmeticPrimitive1::Tan.into ()),
("inexact", "arithmetic", "asin", ArithmeticPrimitive1::Asin.into ()),
("inexact", "arithmetic", "acos", ArithmeticPrimitive1::Acos.into ()),
("inexact", "arithmetic", "atan", ArithmeticPrimitive1::Atan.into ()),
("inexact", "arithmetic", "finite?", TypePrimitiveV::IsNumberFinite.into ()),
("inexact", "arithmetic", "infinite?", TypePrimitiveV::IsNumberInfinite.into ()),
("inexact", "arithmetic", "nan?", TypePrimitiveV::IsNumberNan.into ()),
// (scheme lazy)
// --> verified
#[ cfg ( feature = "vonuvoli_builtins_promises" ) ]
("lazy", "promises", "delay", SyntaxPrimitive::Unimplemented.into ()),
#[ cfg ( feature = "vonuvoli_builtins_promises" ) ]
("lazy", "promises", "delay-force", SyntaxPrimitive::Unimplemented.into ()),
#[ cfg ( feature = "vonuvoli_builtins_promises" ) ]
("lazy", "promises", "promise?", TypePrimitiveV::IsPromise.into ()),
#[ cfg ( feature = "vonuvoli_builtins_promises" ) ]
("lazy", "promises", "make-promise", ProcedurePrimitive::Unimplemented.into ()),
#[ cfg ( feature = "vonuvoli_builtins_promises" ) ]
("lazy", "promises", "force", ProcedurePrimitive::Unimplemented.into ()),
// (scheme load)
// --> verified
("load", "modules", "load", ProcedurePrimitive::Unimplemented.into ()),
// (scheme process-context)
// --> verified
("process-context", "system", "command-line", RuntimePrimitive0::ProcessArgumentsAsList.into ()),
("process-context", "system", "get-environment-variable", RuntimePrimitive1::ProcessEnvironmentVariable.into ()),
("process-context", "system", "get-environment-variables", RuntimePrimitive0::ProcessEnvironmentVariablesAsList.into ()),
("process-context", "system", "exit", RuntimePrimitiveV::ProcessExit.into ()),
("process-context", "system", "emergency-exit", RuntimePrimitiveV::ProcessExitEmergency.into ()),
// (scheme r5rs)
// --> verified
("r5rs", "evaluator", "interaction-environment", ProcedurePrimitive::Unimplemented.into ()),
("r5rs", "evaluator", "scheme-report-environment", ProcedurePrimitive::Unimplemented.into ()),
("r5rs", "evaluator", "null-environment", ProcedurePrimitive::Unimplemented.into ()),
// (scheme read)
// --> verified
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_builtins_ports_input_value" ) ]
("read", "ports", "read", PortPrimitiveV::ValueRead.into ()),
// (scheme repl)
// --> verified
("repl", "evaluator", "interaction-environment", ProcedurePrimitive::Unimplemented.into ()),
// (scheme time)
// --> verified
("time", "system", "current-second", RuntimePrimitive0::PosixTimestamp.into ()),
("time", "system", "current-jiffy", RuntimePrimitive0::JiffiesTimestamp.into ()),
("time", "system", "jiffies-per-second", RuntimePrimitive0::JiffiesPerSecond.into ()),
// (scheme write)
// --> verified
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_builtins_ports_output_value" ) ]
("write", "ports", "write", PortPrimitiveV::ValueWrite.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_builtins_ports_output_value" ) ]
("write", "ports", "write-shared", PortPrimitiveV::ValueWriteShared.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_builtins_ports_output_value" ) ]
("write", "ports", "write-simple", PortPrimitiveV::ValueWriteSimple.into ()),
#[ cfg ( feature = "vonuvoli_builtins_ports" ) ]
#[ cfg ( feature = "vonuvoli_builtins_ports_output_value" ) ]
("write", "ports", "display", PortPrimitiveV::ValueDisplay.into ()),