From fee36294db45523cb60a2e49bdc5252e6a2aa415 Mon Sep 17 00:00:00 2001 From: Chris Pressey Date: Fri, 7 Sep 2018 15:35:42 +0100 Subject: [PATCH] Update TODO and HISTORY. --- HISTORY.md | 7 +++++-- TODO.md | 5 ----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index aea6685..e77b673 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -5,8 +5,11 @@ History of SixtyPical ---- * `save X, Y, Z { }` now allowed as a shortcut for nested `save`s. -* Trying to call or goto a non-routine-typed symbol is now an - analysis error, not a syntax error. +* If the name in a location expression isn't found in the symbol + table, a forward reference will _always_ be generated; and forward + references in _all_ operations will be resolved after parsing. +* As a consequence, trying to call or goto a non-routine-typed symbol + is now an analysis error, not a syntax error. * Split TODO off into own file. * `sixtypical` no longer writes the compiled binary to standard output. The `--output` command-line argument should be given diff --git a/TODO.md b/TODO.md index ebdff52..d885d7f 100644 --- a/TODO.md +++ b/TODO.md @@ -27,11 +27,6 @@ Allow Which uses some other storage location instead of the stack. A local static would be a good candidate for such. -### Make all symbols forward-referencable - -Basically, don't do symbol-table lookups when parsing, but do have a more formal -"symbol resolution" (linking) phase right after parsing. - ### Associate each pointer with the buffer it points into Check that the buffer being read or written to through pointer, appears in appropriate