mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 01:00:20 +02:00
compile ecmascript's parser. yay! instant load-time!
* module/language/ghil/compile-glil.scm (codegen): If there are more than 255 arguments, make a list and use apply instead of calling directly. * module/language/Makefile.am: Now we can compile parse.scm. Yay! * module/language/scheme/compile-ghil.scm: Add a note. * module/language/ecmascript/compile-ghil.scm: Add a note.
This commit is contained in:
parent
594d9d4c48
commit
aec8febc46
4 changed files with 13 additions and 5 deletions
|
@ -46,6 +46,8 @@
|
|||
(@implv ,e ,l ,sym)
|
||||
,args))
|
||||
|
||||
;; The purpose, you ask? To avoid non-tail recursion when expanding a
|
||||
;; long pmatch sequence.
|
||||
(define-macro (ormatch x . clauses)
|
||||
(let ((X (gensym)))
|
||||
`(let ((,X ,x))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue