Implement history mechanism for syntax processor.
authorChris Hanson <org/chris-hanson/cph>
Sun, 11 Feb 2018 07:14:18 +0000 (23:14 -0800)
committerChris Hanson <org/chris-hanson/cph>
Sun, 11 Feb 2018 07:14:18 +0000 (23:14 -0800)
commit882f30c399e6ff1f3e7ad16330eb24b1572bc225
treef20c2af2b307b1a12280b8112569c3af79d029f0
parent666a4e114c78549f02b587d1d83f454946bb5af5
Implement history mechanism for syntax processor.

This mechanism keeps track of how each subexpression is derived from the larger
program, so that error messages can have that context.

The history isn't yet hooked up to anything; it's just being tracked.  The next
step is to attach it to the syntax errors and change the error messages to
reveal that context.
src/edwin/clsmac.scm
src/runtime/integer-bits.scm
src/runtime/mit-syntax.scm
src/runtime/runtime.pkg
src/runtime/syntax-rules.scm
src/runtime/syntax.scm