
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
oracle-plsql-parser
Advanced tools
This parser is a work in progress. Valid code may be marked as invalid.
My current goal is to make the lexing and parsing work for most projects. Better error messages are for now a problem of the future.
You are welcome to contribute, I am happy with every help :)
Lexer, parser and interpreter for Oracle PL/SQL.
This parser is build for basic code introspection and coding assistance. This means that it won't act 1:1 the same as the DB internal parser. My goal is more to not have false negative than false positives. For example parsing values is way more forgiving resulting in no errors from this parser where the DB parser would.
The interpreter gives an object with insights about the code. For example which packages are included, their functions / procedures + their parameters. All with position info. I am using this to build a VS Code Plugin with a Language Server.
import parse, { getInterpretation } from 'oracle-plsql-parser';
const code = `begin ... end;`;
// 2nd parameters logs errors to console
const {errors, cst} = parse(text, true);
// interpreter returns object with infos about the code
const interpreted = plSqlInterpreter.visit(cst);
console.log(interpreted);
npm i oracle-plsql-parser@latest
Currently broken and not updated
https://phartenfeller.github.io/plsql-parser/
FAQs
Parser for Oracle PL/SQL
The npm package oracle-plsql-parser receives a total of 4 weekly downloads. As such, oracle-plsql-parser popularity was classified as not popular.
We found that oracle-plsql-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.