birth, rebirth: Correct *->ecmascript procedure names
They were just out of date, having been copied from Prebirth. * build-aux/bootstrap/birth.scm (prebirth->ecmascript, birth>ecmascript): Former renamed to latter. * build-aux/bootstrap/rebirth.scm (prebirth->ecmascript, rebirth>ecmascript): Former renamed to latter.master
parent
0f9b034a82
commit
f18322fbe5
|
@ -264,10 +264,10 @@
|
|||
(ast-depth ast))))))
|
||||
|
||||
|
||||
;; Compile Prebirth Lisp AST into ECMAScript.
|
||||
;; Compile Birth Lisp AST into ECMAScript.
|
||||
;;
|
||||
;; The AST can be generated with `parse-lisp'.
|
||||
(define (prebirth->ecmascript ast)
|
||||
(define (birth->ecmascript ast)
|
||||
;; Generate ECMAScript-friendly name from the given id.
|
||||
;;
|
||||
;; A subset of special characters that are acceptable in Scheme are
|
||||
|
@ -556,6 +556,6 @@
|
|||
|
||||
;; at this point, this program can parse itself and output a CST (sans
|
||||
;; whitespace)
|
||||
(js:console (prebirth->ecmascript
|
||||
(js:console (birth->ecmascript
|
||||
(parse-lisp
|
||||
(js:file->string "/dev/stdin"))))
|
||||
|
|
|
@ -823,10 +823,10 @@
|
|||
t)))
|
||||
|
||||
|
||||
;; Compile Prebirth Lisp AST into ECMAScript.
|
||||
;; Compile Rebirth Lisp AST into ECMAScript.
|
||||
;;
|
||||
;; The AST can be generated with `parse-lisp'.
|
||||
(define (prebirth->ecmascript ast)
|
||||
(define (rebirth->ecmascript ast)
|
||||
;; compiled output, wrapped in a self-executing function to limit scope
|
||||
;; (note that we no longer depend on libprebirth)
|
||||
(string-append "(function(){"
|
||||
|
@ -836,6 +836,6 @@
|
|||
|
||||
;; at this point, this program can parse itself and output a CST (sans
|
||||
;; whitespace)
|
||||
(js:console (prebirth->ecmascript
|
||||
(js:console (rebirth->ecmascript
|
||||
(parse-lisp
|
||||
(js:file->string "/dev/stdin"))))
|
||||
|
|
Loading…
Reference in New Issue