summaryrefslogtreecommitdiff
path: root/packrat_parser_lib_notes.txt
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2019-01-15 19:34:37 +1100
committerJed Barber <jjbarber@y7mail.com>2019-01-15 19:34:37 +1100
commit4e42761354c2de557c0166d46aabe9dcd9b77073 (patch)
treeed940eb95e476048b7d68fc49e4edd12eb444b16 /packrat_parser_lib_notes.txt
parentb60f27407c20344f5d48fa7d6f3efe5f9d4e87fb (diff)
Redesigned Lexer Scan functions slightly, added tests for them
Diffstat (limited to 'packrat_parser_lib_notes.txt')
-rw-r--r--packrat_parser_lib_notes.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/packrat_parser_lib_notes.txt b/packrat_parser_lib_notes.txt
index e48ebe8..1ae9707 100644
--- a/packrat_parser_lib_notes.txt
+++ b/packrat_parser_lib_notes.txt
@@ -182,8 +182,6 @@ Scan_Only
- function that returns an array of lexed tokens
- takes a lexer status as input to resuem a lex, but will treat it as a constant unlike the others
- if all lexer components return "partial" or fail then raises a lexer_error
-Scan_Set_Only
- - as above, except is a procedure that uses a fixed size array as output with a padding token
Scan_With
- function that returns an array of lexed tokens
- when it runs out of input it uses the supplied function to get more input until that function
@@ -192,6 +190,9 @@ Scan_With
Scan_Set_With
- as above, except is a procedure that uses a fixed size array as output with a padding token
+(determined to be redundant)
+Scan_Set_Only
+
(type signature of these are:
input of an opaque lex_component_input type
output of an opaque lex_component_output type