Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created January 1, 2022 20:57
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Whateverable/400d756da8db4c5c30908abb4a11f7f1 to your computer and use it in GitHub Desktop.
Whateverable
2022-01-01T06:26:26Z #raku <CIAvash> spacekookie you need to make newline optional in `TOP`, because you're matching it with `<scopeword> \v <scope>` in token `line`. and you need to add whitespace in token `scope`, `[ \h* <scope-line> \v+ ]*`. and here's how I would write it: https://gist.github.com/CIAvash/e7d877b9c394f9b8b342c8f9fde90fe1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment