Created
June 18, 2021 08:24
-
-
Save LironHazan/f3a5fc1792cc24ed43937a2757258a3e to your computer and use it in GitHub Desktop.
consume dummy parser (for blog post)
This file contains hidden or 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
let textWithSpaces = `foo == "hey there" && foo == "eatPizza"`; | |
let output = parseDummyQL(textWithSpaces); | |
console.log(output); | |
// [ | |
// [ 'foo', '==', 'hey there ๐' ], | |
// [ '&&', [ 'foo', '==', 'eatPizza ๐' ] ] | |
// ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment