core: Use single definition rule for cell-type.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sun, 29 Apr 2018 11:22:02 +0000 (13:22 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sun, 29 Apr 2018 11:22:02 +0000 (13:22 +0200)
commit8911af4aa8da385e4b9dd49daa24e9025b316461
tree954791b912d6c87bfcdb977a1e10a3799bb1e1d0
parenta56d5e3efe09e5fd350a7545a9f6fb4276c0355c
core: Use single definition rule for cell-type.

* src/mes.c (scm_type_char, scm_type_closure, scm_type_continuation,
  scm_type_function, scm_type_keyword, scm_type_macro,
  scm_type_number, scm_type_pair, scm_type_ref, scm_type_special,
  scm_type_string, scm_type_symbol, scm_type_values,
  scm_type_variable, scm_type_vector): New symbol.
  (mes_symbols): Add them.
* module/mes/type-0.mes (<cell:char>, <cell:char>, <cell:closure>,
  <cell:continuation>, <cell:function>, <cell:keyword>, <cell:macro>,
  <cell:number>, <cell:pair>, <cell:ref>, <cell:special>,
  <cell:string>, <cell:symbol>, <cell:values>, <cell:variable>,
  <cell:vector>, <cell:broken-heart): Remove.
* module/mes/boot-0.scm: Likewise.
* module/mes/boot-01.scm: Likewise.
* module/mes/boot-02.scm: Likewise.
* scaffold/boot/20-define-quote.scm: Likewise.
* scaffold/boot/37-closure-lambda.scm: Likewise.
* scaffold/boot/38-simple-format.scm: Likewise.
* scaffold/boot/4c-quasiquote.scm:
* scaffold/boot/4e-string-split.scm: Likewise.
* scaffold/boot/51-module.scm: Likewise.
* scaffold/boot/52-define-module.scm: Likewise.
* scaffold/boot/60-let-syntax.scm: Likewise.
* module/mes/guile.scm: Add some of them.
14 files changed:
module/mes/boot-0.scm
module/mes/boot-01.scm
module/mes/boot-02.scm
module/mes/guile.scm
module/mes/type-0.mes
scaffold/boot/20-define-quote.scm
scaffold/boot/37-closure-lambda.scm
scaffold/boot/38-simple-format.scm
scaffold/boot/4c-quasiquote.scm
scaffold/boot/4e-string-split.scm
scaffold/boot/51-module.scm
scaffold/boot/52-define-module.scm
scaffold/boot/60-let-syntax.scm
src/mes.c