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
Mike Gerwitz 2017-12-08 23:58:15 -05:00
parent 0f9b034a82
commit f18322fbe5
Signed by: mikegerwitz
GPG Key ID: 8C917B7F5DC51BA2
2 changed files with 6 additions and 6 deletions

View File

@ -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"))))

View File

@ -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"))))