mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
separate js-il functions into actual functions and those for continuations
This commit is contained in:
parent
9e498f2430
commit
54ce470cf8
3 changed files with 20 additions and 131 deletions
|
@ -29,11 +29,10 @@
|
|||
(list (compile-exp entry) entry-call)))
|
||||
'())))
|
||||
|
||||
(($ il:function #f params body)
|
||||
(($ il:continuation params body)
|
||||
(make-function (map rename params) (list (compile-exp body))))
|
||||
|
||||
(($ il:function name params body)
|
||||
;; TODO: split il:function into closure (with self) and cont types
|
||||
(make-function (map rename (cons name params)) (list (compile-exp body))))
|
||||
|
||||
(($ il:local bindings body)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue