mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 08:47:35 +02:00
Revert I/O changes for now
This commit is contained in:
parent
f5b7c75184
commit
69a35f7d2e
1 changed files with 10 additions and 10 deletions
|
@ -770,11 +770,11 @@
|
|||
;; EG: int v = prim();
|
||||
(define (prim/c-var-assign p)
|
||||
(cond
|
||||
;((eq? p 'Cyc-stdout) "port_type")
|
||||
;((eq? p 'Cyc-stdin) "port_type")
|
||||
;((eq? p 'Cyc-stderr) "port_type")
|
||||
;((eq? p 'open-input-file) "port_type")
|
||||
;((eq? p 'open-output-file) "port_type")
|
||||
((eq? p 'Cyc-stdout) "port_type")
|
||||
((eq? p 'Cyc-stdin) "port_type")
|
||||
((eq? p 'Cyc-stderr) "port_type")
|
||||
((eq? p 'open-input-file) "port_type")
|
||||
((eq? p 'open-output-file) "port_type")
|
||||
;((eq? p 'Cyc-fast-plus) "object")
|
||||
;((eq? p 'Cyc-fast-sub) "object")
|
||||
;((eq? p 'Cyc-fast-mul) "object")
|
||||
|
@ -828,11 +828,11 @@
|
|||
(and (prim? exp)
|
||||
(or
|
||||
(member exp '(
|
||||
;Cyc-stdout
|
||||
;Cyc-stdin
|
||||
;Cyc-stderr
|
||||
;open-input-file
|
||||
;open-output-file
|
||||
Cyc-stdout
|
||||
Cyc-stdin
|
||||
Cyc-stderr
|
||||
open-input-file
|
||||
open-output-file
|
||||
Cyc-installation-dir
|
||||
Cyc-compilation-environment
|
||||
string->number
|
||||
|
|
Loading…
Add table
Reference in a new issue