Skip to content

feat: parser sourcegen #4

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

Merged
merged 24 commits into from
Sep 15, 2023
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
84d4683
feat: initial commit for parser sourcegen
psteinroe Jul 28, 2023
4c1da43
feat: sourcegen for get_location and get_children
psteinroe Aug 1, 2023
4ca2870
progress
psteinroe Aug 3, 2023
8711c6a
fix: get_children return nodes of repeated children, not only their c…
psteinroe Aug 3, 2023
14802c0
refactor: dont use recursion
psteinroe Aug 9, 2023
623a389
progress on location parsing
psteinroe Aug 14, 2023
d6adb3b
feat: reverse engineering for locations
psteinroe Aug 16, 2023
321e9ea
fix: rewrite statement parser
psteinroe Aug 17, 2023
f52bf35
fix: fallback to parent_location 0 if no parent
psteinroe Aug 17, 2023
7ac68a0
fix: add more control mechnisms to parser and fix more statement tests
psteinroe Aug 24, 2023
6825150
chore: housekeeping
psteinroe Aug 26, 2023
576bab2
refactor: migrate syntax kind to codegen
psteinroe Aug 26, 2023
502c79c
chore: housekeeping
psteinroe Aug 26, 2023
49ccaa0
fix: codegen
psteinroe Aug 26, 2023
1fa340b
refactor: migrate get_location to codegen (not working yet)
psteinroe Aug 30, 2023
e973ab4
chore: cleanup
psteinroe Aug 30, 2023
490026c
fix 'inner attribute doesn't annotate this function' error
imor Aug 30, 2023
a9f0d60
refactor: migrate to codegen
psteinroe Sep 2, 2023
48ce901
feat: add snapshot tests
psteinroe Sep 3, 2023
228b039
refactor: parse flat cst only. deep cst progress is saved on other br…
psteinroe Sep 4, 2023
2059e07
chore: cleanup
psteinroe Sep 12, 2023
014b030
chore: merge dev
psteinroe Sep 12, 2023
c7b3a40
fix: checkout submodule in ci
psteinroe Sep 15, 2023
5300b17
fix: checkout submodule in ci
psteinroe Sep 15, 2023
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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -17,6 +17,8 @@ jobs:
steps:
- name: 🏗 Setup repository
uses: actions/checkout@v3
with:
submodules: true

- name: 🏗 Setup monorepo
uses: ./.github/actions/setup-monorepo
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "libpg_query"]
path = libpg_query
url = [email protected]:pganalyze/libpg_query.git
Loading