From 6f77a691c710944a449ef55e8bd1168ffadac82c Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" <pesco@khjk.org> Date: Fri, 13 Jan 2023 09:58:32 +0000 Subject: [PATCH] add some notes about earlier LALR work for future archeologists --- TODO | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/TODO b/TODO index 2ef9bbd..b662d1d 100644 --- a/TODO +++ b/TODO @@ -103,6 +103,18 @@ course that in a string literal, the former means "\n" and the latter means "\n\n". + relevant commits of this earlier work (from feb 2020) were: + + c316cc89 let 'obj' no longer consume leading whitespace + dc0a1189 allow npair to no longer consume leading whitespace + 31310bb2 remove the TOK() from pnat + 9b43d1d0 put an explicit delimiter after all occurances of npair + 9dcf3ddc remove the TOK() from 'nat' + f7dbb2ac make whitespace explicit in arrays and dictionaries + 00f48306 remove all uses of TOK() from object syntax + 25596aec make robj LALR + 1d031337 intermediate commit: work towards making all of 'obj' LALR + - implement random-access ("island") parser (walking objects from /Root). i'm not sure how much we need to know about the "DOM" for this. maybe nothing? since everything is built out of basic objects and we can just -- GitLab