# HG changeset patch # User Henry S. Thompson # Date 1493229094 -3600 # Node ID 4c6a341e75dae947397920997c8ff6233c2fc71c # Parent 468a6cf8bf0ba1d4428364553338782675bbdc79 big rework works on sample2, w/o refs processing diff -r 468a6cf8bf0b -r 4c6a341e75da notes.txt --- a/notes.txt Tue Apr 25 22:17:12 2017 +0100 +++ b/notes.txt Wed Apr 26 18:51:34 2017 +0100 @@ -24,7 +24,7 @@ 8 (\$?[A-Z]+\$?[0-9]+) s or r A cell reference 9 ([a-zA-Z_\\][a-zA-Z0-9._]*) v - A name (always for a variable?) + A name (boolean constant or a variable -- anything else?) 10 (.) x Single characters not matched by the previous patterns ---------- diff -r 468a6cf8bf0b -r 4c6a341e75da rect.xsl --- a/rect.xsl Tue Apr 25 22:17:12 2017 +0100 +++ b/rect.xsl Wed Apr 26 18:51:34 2017 +0100 @@ -7,7 +7,7 @@ - + @@ -42,9 +42,9 @@ - + - + diff -r 468a6cf8bf0b -r 4c6a341e75da tokenise.xsl --- a/tokenise.xsl Tue Apr 25 22:17:12 2017 +0100 +++ b/tokenise.xsl Wed Apr 26 18:51:34 2017 +0100 @@ -5,7 +5,8 @@ ("[^"]*")|(\{[^}]+})|(,)|([^=\-+*/();:,.$<>^!]+(?:\.[^=\-+*/();:,.$<>^!]+)*\()|([)])|(^=|\()|((?:(?:'[^']+')|(?:\[[0-9]+\][^!]*)|(?:[a-zA-Z_][a-zA-Z0-9._]*)!))|(\$?[A-Z]+\$?[0-9]+)|([a-zA-Z_\\][a-zA-Z0-9._]*)|(.) - + ("[^"]*")|(\{[^}]+})|(,)|([^=\-+*/();:,.$<>^!]+(?:\.[^=\-+*/();:,.$<>^!]+)*\()|([)])|(^=|\()|((?:'[^']+'!)|(?:[\[0-9A-Za-z_][^=\-+*/();:,.$<>^!]*!))|(\$?[A-Z]+\$?[0-9]+)|([a-zA-Z_\\][a-zA-Z0-9._]*)|(.) + @@ -18,6 +19,7 @@ + tok: @@ -45,7 +48,9 @@ - + + + tok1: ||| + exp: :, - + + + + + + + + + amal: + + + + @@ -109,7 +128,8 @@ - + exp1: || + @@ -167,14 +187,15 @@ - Bad range part in : of type (: () + Bad range part in : of type (: () + - + diff -r 468a6cf8bf0b -r 4c6a341e75da visualise.xpl --- a/visualise.xpl Tue Apr 25 22:17:12 2017 +0100 +++ b/visualise.xpl Wed Apr 26 18:51:34 2017 +0100 @@ -116,6 +116,8 @@ + +