ulambda/build-aux/bootstrap
Mike Gerwitz 0a1e530a76
rebirth: Extend `cond-expand' to dynamically support features
This will crudely detect "features" by seeing if the requested feature is a
definition.  Ideally that definition would be a procedure, but we don't
check for that.  This does what we need it to do.

Obviously this is a poor implementation and will not persist past Rebirth.

* build-aux/bootstrap/rebirth.scm (es:defined?): New procedure.
  (expand-cond-expand): New procedure.  If first Rebirth pass, only support
    `string->es' and `else'; otherwise detect features using `es:defined?'.
  (fnmap)[cond-expand]: Use it.
2017-12-11 22:36:22 -05:00
..
Bootstrap.js bootstrap: Formalize (both command-line and browser) 2017-11-12 00:29:40 -05:00
birth.scm birth: Support for cond-expand else 2017-12-11 22:24:19 -05:00
libprebirth.js libprebirth: Remove unused `append!' 2017-12-05 00:33:34 -05:00
prebirth.js prebirth,birth,rebirth: Permit newlines in strings 2017-12-05 00:47:26 -05:00
rebirth.scm rebirth: Extend `cond-expand' to dynamically support features 2017-12-11 22:36:22 -05:00