Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better parser #102

Merged
merged 30 commits into from
Jun 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
f6bdab8
first pass at parser
AlecAivazis Jun 22, 2021
6b30fde
dry up parsing logic
AlecAivazis Jun 22, 2021
5930b2a
tests pass
AlecAivazis Jun 22, 2021
99d367d
added failing tests
AlecAivazis Jun 22, 2021
315ba43
tests pass
AlecAivazis Jun 22, 2021
9587314
added {: to list of logic blocks
AlecAivazis Jun 22, 2021
d8b0911
rename test
AlecAivazis Jun 22, 2021
a6dab8b
all tests pass
AlecAivazis Jun 22, 2021
db1b57d
handle html comments
AlecAivazis Jun 22, 2021
8e2fec5
minor cleanup
AlecAivazis Jun 22, 2021
e03dc67
more parser test cases
AlecAivazis Jun 22, 2021
c16c835
use tabs for spacing in parser tests
AlecAivazis Jun 22, 2021
9676e88
clarify logic
AlecAivazis Jun 22, 2021
dd8f0ed
parser handles complex expressions
AlecAivazis Jun 22, 2021
53f5104
self closing tags
AlecAivazis Jun 23, 2021
8276e5c
remove invalid comment
AlecAivazis Jun 23, 2021
f17a13a
better error message for parser
AlecAivazis Jun 24, 2021
b38c9b6
v0.7.2-rc.0
AlecAivazis Jun 24, 2021
4cdab7b
support pixelmund's first failure case
AlecAivazis Jun 24, 2021
a3671a0
remove errant log
AlecAivazis Jun 24, 2021
695c86f
v0.7.2-rc.1
AlecAivazis Jun 24, 2021
96d24c4
remove details from pixelmund's test
AlecAivazis Jun 24, 2021
fbe5795
v0.7.2-rc.2
AlecAivazis Jun 24, 2021
59c5f94
add prepare script to houdini-common
AlecAivazis Jun 24, 2021
005d970
empty expressions dont blow up
AlecAivazis Jun 24, 2021
b927571
more empty expression tests
AlecAivazis Jun 24, 2021
c7a0aef
v0.7.2-rc.3
AlecAivazis Jun 24, 2021
485790c
dont waste time parsing javascript
AlecAivazis Jun 24, 2021
0c6addf
v0.7.2-rc.4
AlecAivazis Jun 24, 2021
9cc7c6b
add line number to parser errors
AlecAivazis Jun 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "example-kit",
"private": true,
"version": "0.7.1",
"version": "0.7.2-rc.4",
"scripts": {
"dev": "svelte-kit dev",
"build": "svelte-kit build",
Expand All @@ -12,8 +12,8 @@
"devDependencies": {
"@sveltejs/kit": "1.0.0-next.107",
"graphql": "15.5.0",
"houdini": "^0.7.1",
"houdini-preprocess": "^0.7.1",
"houdini": "^0.7.2-rc.4",
"houdini-preprocess": "^0.7.2-rc.4",
"svelte": "^3.38.2",
"svelte-preprocess": "^4.0.0",
"tslib": "^2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"packages/*",
"example"
],
"version": "0.7.1",
"version": "0.7.2-rc.4",
"npmClient": "yarn"
}
5 changes: 3 additions & 2 deletions packages/houdini-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "houdini-common",
"version": "0.7.0",
"version": "0.7.2-rc.4",
"description": "",
"main": "build/cjs/index.js",
"module": "build/esm/index.js",
Expand All @@ -13,7 +13,8 @@
"scripts": {
"build": "npm run build:esm && npm run build:cjs && ../houdini-preprocess/typeModules.sh",
"build:esm": "TARGET=esm rollup --config ./rollup.config.js",
"build:cjs": "TARGET=cjs rollup --config ./rollup.config.js"
"build:cjs": "TARGET=cjs rollup --config ./rollup.config.js",
"prepare": "npm run build"
},
"keywords": [],
"author": "",
Expand Down
Loading