mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-25 13:05:05 +02:00
Use new comparison ops
This commit is contained in:
parent
f8253f716b
commit
5de999dee7
1 changed files with 13 additions and 5 deletions
|
@ -512,11 +512,11 @@
|
||||||
((eq? p '-) "Cyc_sub")
|
((eq? p '-) "Cyc_sub")
|
||||||
((eq? p '*) "Cyc_mul")
|
((eq? p '*) "Cyc_mul")
|
||||||
((eq? p '/) "Cyc_div")
|
((eq? p '/) "Cyc_div")
|
||||||
((eq? p '=) "__num_eq")
|
((eq? p '=) "Cyc_num_eq")
|
||||||
((eq? p '>) "__num_gt")
|
((eq? p '>) "Cyc_num_gt")
|
||||||
((eq? p '<) "__num_lt")
|
((eq? p '<) "Cyc_num_lt")
|
||||||
((eq? p '>=) "__num_gte")
|
((eq? p '>=) "Cyc_num_gte")
|
||||||
((eq? p '<=) "__num_lte")
|
((eq? p '<=) "Cyc_num_lte")
|
||||||
((eq? p 'apply) "apply")
|
((eq? p 'apply) "apply")
|
||||||
((eq? p '%halt) "__halt")
|
((eq? p '%halt) "__halt")
|
||||||
((eq? p 'exit) "__halt")
|
((eq? p 'exit) "__halt")
|
||||||
|
@ -712,6 +712,11 @@
|
||||||
((eq? p '-) "object")
|
((eq? p '-) "object")
|
||||||
((eq? p '*) "object")
|
((eq? p '*) "object")
|
||||||
((eq? p '/) "object")
|
((eq? p '/) "object")
|
||||||
|
((eq? p '=) "object")
|
||||||
|
((eq? p '>) "object")
|
||||||
|
((eq? p '<) "object")
|
||||||
|
((eq? p '>=) "object")
|
||||||
|
((eq? p '<=) "object")
|
||||||
((eq? p 'string->number) "object")
|
((eq? p 'string->number) "object")
|
||||||
((eq? p 'string-append) "object")
|
((eq? p 'string-append) "object")
|
||||||
((eq? p 'apply) "object")
|
((eq? p 'apply) "object")
|
||||||
|
@ -756,6 +761,7 @@
|
||||||
symbol->string number->string
|
symbol->string number->string
|
||||||
substring
|
substring
|
||||||
+ - * / apply
|
+ - * / apply
|
||||||
|
= > < >= <=
|
||||||
command-line-arguments
|
command-line-arguments
|
||||||
Cyc-read-line
|
Cyc-read-line
|
||||||
read-char peek-char
|
read-char peek-char
|
||||||
|
@ -766,6 +772,7 @@
|
||||||
(and (prim? exp)
|
(and (prim? exp)
|
||||||
(member exp '(Cyc-read-line apply command-line-arguments number->string
|
(member exp '(Cyc-read-line apply command-line-arguments number->string
|
||||||
+ - * /
|
+ - * /
|
||||||
|
= > < >= <=
|
||||||
read-char peek-char
|
read-char peek-char
|
||||||
symbol->string list->string substring string-append string->number
|
symbol->string list->string substring string-append string->number
|
||||||
make-bytevector
|
make-bytevector
|
||||||
|
@ -792,6 +799,7 @@
|
||||||
bytevector
|
bytevector
|
||||||
bytevector-append
|
bytevector-append
|
||||||
make-vector
|
make-vector
|
||||||
|
= > < >= <=
|
||||||
+ - * /))))
|
+ - * /))))
|
||||||
|
|
||||||
;; Does primitive allocate an object?
|
;; Does primitive allocate an object?
|
||||||
|
|
Loading…
Add table
Reference in a new issue