Refactor the syntax-error mechanism.
authorChris Hanson <org/chris-hanson/cph>
Thu, 15 Feb 2018 03:29:32 +0000 (19:29 -0800)
committerChris Hanson <org/chris-hanson/cph>
Thu, 15 Feb 2018 03:29:32 +0000 (19:29 -0800)
commit4da2f21cc445dae8169ef4f6efd97232bbf2c6c6
tree66774041ecedc4cb23ca3e5b743d6aef3ee9c888
parent2925e3f1746ed527514409857cdf843c21bad4e2
Refactor the syntax-error mechanism.

* There's now a condition type for syntax errors.
* There's a distinction between errors that happen in macro expanders and those
  that happen inside the syntax implementation.
* All syntax errors now get the (form senv hist) objects.
* Syntax errors don't yet use the history to report context; that will come
  later.
src/runtime/make.scm
src/runtime/mit-syntax.scm
src/runtime/runtime.pkg
src/runtime/syntax-check.scm
src/runtime/syntax-environment.scm
src/runtime/syntax-items.scm
src/runtime/syntax-rules.scm
src/runtime/syntax.scm