Skip to content

Feature/plsql support#1033

Open
ouzsrcm wants to merge 7 commits into
DeusData:mainfrom
ouzsrcm:feature/plsql-support
Open

Feature/plsql support#1033
ouzsrcm wants to merge 7 commits into
DeusData:mainfrom
ouzsrcm:feature/plsql-support

Conversation

@ouzsrcm

@ouzsrcm ouzsrcm commented Jul 11, 2026

Copy link
Copy Markdown

What does this PR do?

Checklist

  • Every commit is signed off (git commit -s) — required, CI rejects
    unsigned commits (DCO, see CONTRIBUTING.md)
  • Tests pass locally (make -f Makefile.cbm test)
  • Lint passes (make -f Makefile.cbm lint-ci)
  • New behavior is covered by a test (reproduce-first for bug fixes)

ouzsrcm and others added 6 commits July 11, 2026 17:40
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>
@ouzsrcm ouzsrcm requested a review from DeusData as a code owner July 11, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant