Skip to content

Skippablehash#3

Open
johnlevidy wants to merge 5 commits into
masterfrom
skippablehash
Open

Skippablehash#3
johnlevidy wants to merge 5 commits into
masterfrom
skippablehash

Conversation

@johnlevidy

Copy link
Copy Markdown
Owner

No description provided.

@johnlevidy

Copy link
Copy Markdown
Owner Author

image
I feel we need a third type in here.

@johnlevidy

Copy link
Copy Markdown
Owner Author

image
some real magic happening here i just wanted to jot down as well

@johnlevidy

Copy link
Copy Markdown
Owner Author

all parsing activity like getting a vector view above aren't returning a vector view but a parse result. the parse result always has a tail. we should be able to piggy back off that of that idea, broadly, to build skippability. essentially, with little change we can have an HV that "fails to parse" but doesn't return error and correctly advances tail in the returned parseresult

@johnlevidy

Copy link
Copy Markdown
Owner Author

Parse result that gets carried over for tail can also hold offset_good or similar

@@ -0,0 +1,15 @@
from tako.core.types import *

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you come up with this stuff 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants