Created
September 4, 2017 00:29
-
-
Save StoneCypher/6f323ccc109608cfea7c3a45ccd21dd1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Whitespace | |
= [ \t\n\r\v]+ | |
BlockCommentTail | |
= "*/" | |
/ . BlockCommentTail | |
BlockComment | |
= "/*" BlockCommentTail | |
EOF | |
= !. | |
LineCommentTail | |
= LineTerminator | |
/ EOF | |
/ . LineCommentTail | |
LineComment | |
= "//" LineCommentTail | |
WS | |
= Whitespace | |
/ BlockComment | |
/ LineComment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment