implement parsing #3

Merged
omicron merged 15 commits from parser_start into main 2025-04-02 19:53:48 +00:00
Owner
No description provided.
omicron added 16 commits 2025-04-02 17:33:54 +00:00
everyone.
The linked list is doubly linked so the parser can look forward into it
and error reporting can look backward.

This commmit also reworks main to use the tokenlist instead of dealing
with the lexer manually.
The buffer length len and the requested number of tokens n are mixed up
in an invalid comparison. This causes all valid requests for n < len
tokens to be denied and all invalid requests for n > len tokens to be
accepted. This may cause a buffer overflow if the caller requests more
characters than they provide space for.
Slightly change the valid test input file
All checks were successful
Validate the build / validate-build (push) Successful in 27s
dabd3fd86f
More grammar
All checks were successful
Validate the build / validate-build (push) Successful in 27s
000756fca9
Fix parse_operand
All checks were successful
Validate the build / validate-build (push) Successful in 26s
d40273b329
omicron force-pushed parser_start from d40273b329 to 0d3881f680 2025-04-02 19:43:36 +00:00 Compare
omicron changed title from WIP: implement parsing to implement parsing 2025-04-02 19:53:21 +00:00
omicron merged commit 0d3881f680 into main 2025-04-02 19:53:48 +00:00
omicron deleted branch parser_start 2025-04-02 19:53:48 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: omicron/oas#3
No description provided.