mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 16:27:35 +02:00
Comment-out WIP code
This commit is contained in:
parent
4d2cef3782
commit
e8c5a3415a
1 changed files with 16 additions and 16 deletions
|
@ -1185,22 +1185,22 @@
|
||||||
(difference fv (built-in-syms)))
|
(difference fv (built-in-syms)))
|
||||||
(list))))))
|
(list))))))
|
||||||
|
|
||||||
TODO: upgrade applicable function calls to inlinable primitives
|
;TODO: upgrade applicable function calls to inlinable primitives
|
||||||
first case is char=? => Cyc-fast-char-eq (and rest of the family)
|
;first case is char=? => Cyc-fast-char-eq (and rest of the family)
|
||||||
(define (inline-applicable-funcs expr)
|
;(define (inline-applicable-funcs expr)
|
||||||
(define (conv ast)
|
; (define (conv ast)
|
||||||
(cond
|
; (cond
|
||||||
((define? ast)
|
; ((define? ast)
|
||||||
`(define ,@(map (lambda (a) (conv a)) (cdr ast))))
|
; `(define ,@(map (lambda (a) (conv a)) (cdr ast))))
|
||||||
((set!? ast)
|
; ((set!? ast)
|
||||||
`(set! ,@(map (lambda (a) (conv a)) (cdr ast))))
|
; `(set! ,@(map (lambda (a) (conv a)) (cdr ast))))
|
||||||
((if? ast)
|
; ((if? ast)
|
||||||
TODO
|
; TODO
|
||||||
((lambda? ast)
|
; ((lambda? ast)
|
||||||
((app? ast)
|
; ((app? ast)
|
||||||
(else
|
; (else
|
||||||
ast)))
|
; ast)))
|
||||||
(conv expr))
|
; (conv expr))
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Helpers to syntax check primitive calls
|
;; Helpers to syntax check primitive calls
|
||||||
|
|
Loading…
Add table
Reference in a new issue