Feature/plsql support#1033
Open
ouzsrcm wants to merge 7 commits into
Open
Conversation
Vendors AndreasMaierDe/tree-sitter-plsql @ 28aebef (MIT, ABI 14, no external scanner) and adds the grammar_plsql.c compile shim. Updates MANIFEST.md and THIRD_PARTY.md grammar counts. Local patch: quoted tree_sitter/parser.h include so the per-grammar header resolves. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Oğuz <oguzhan.saricam@gmail.com>
Register Oracle PL/SQL in lang_specs (packages/types/triggers as Class, procedures/functions as Function, ref_call/branches/assign/raise) and map .pks/.pkb/.pck/.pls/.plb/.plsql/.fnc/.trg/.bdy/.tps/.tpb. Leave .sql and .prc unchanged. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Oğuz <oguzhan.saricam@gmail.com>
Resolve fnc_name/prc_name for procedures and functions, package_name/ type_name/trigger_name for Class nodes, and package-qualified ref_call callees (PKG.FNC) for CALLS edges. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Oğuz <oguzhan.saricam@gmail.com>
Add extension/extraction/grammar regression+label tests for PL/SQL, plus emp_pkg/util_pkg fixtures verifying Class/Function and CALLS. Document CREATE TYPE ... AS OBJECT as a known grammar ERROR-node limitation. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Oğuz <oguzhan.saricam@gmail.com>
Signed-off-by: Oğuz <oguzhan.saricam@gmail.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Checklist
git commit -s) — required, CI rejectsunsigned commits (DCO, see CONTRIBUTING.md)
make -f Makefile.cbm test)make -f Makefile.cbm lint-ci)