summaryrefslogtreecommitdiff
path: root/packrat_parser_lib_notes.txt
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2019-01-09 22:58:10 +1100
committerJed Barber <jjbarber@y7mail.com>2019-01-09 22:58:10 +1100
commit81f7e19f212f9d1ac75e04e62933e6c918219cfc (patch)
tree2f353225fc46d619e1f09c6e26ec7c3f6f6b53a3 /packrat_parser_lib_notes.txt
parente9862fcf976878cdec96b5f00adee010fd1c8382 (diff)
Packrat.Tokens added, tested, and functional
Diffstat (limited to 'packrat_parser_lib_notes.txt')
-rw-r--r--packrat_parser_lib_notes.txt46
1 files changed, 46 insertions, 0 deletions
diff --git a/packrat_parser_lib_notes.txt b/packrat_parser_lib_notes.txt
index 8bcac69..8e98d56 100644
--- a/packrat_parser_lib_notes.txt
+++ b/packrat_parser_lib_notes.txt
@@ -214,6 +214,10 @@ Pretty_Print
To_String
Pretty_Print
+(for tokens)
+To_String
+Pretty_Print
+
@@ -244,6 +248,36 @@ Decode
+Packrat.Tokens
+ - nested package, defines a datatype important throughout lexing/parsing
+ - generic over the array type of whatever is being lexed/parsed and the enum of valid token labels
+ - contains an enum identifier, the start position, the finish position plus one, and the token value
+
+List of datatypes:
+Token (tagged, controlled, but not limited)
+
+List of funcs:
+Create
+Initialized
+
+Label
+Value
+Start
+Finish
+
+
+
+
+Packrat.Graphs
+
+List_of_datatypes:
+Parse_Graph
+
+List of funcs:
+
+
+
+
Ratnest
@@ -257,6 +291,18 @@ Run_Tests
Ratnest.Tests
List of funcs:
+Valid_Message_Check
+Valid_Identifier_Check
+Join_Check
+Encode_1_Check
+Encode_2_Check
+Encode_3_Check
+Encode_4_Check
+Decode_Check
+
+Token_Adjust_Check
+Token_Store_Check
+
In_Set_Check
Not_In_Set_Check