Proof of concept for tooling to migrate PL/SQL code to PL/pgSQL written in Rust.
npm install @cybertec/plpgsql-analyzerplpgsql-analyzerParse and analyze Oracle PL/SQL code.
``bash`
npm install --save @cybertec/plpgsql-analyzerOR
yarn add @cybertec/plpgsql-analyzer
`typescript
import { analyze, DboType } from "plpgsql-analyzer";
const content = CREATE FUNCTION my_func
RETURN NUMBER
IS
BEGIN
RETURN 1;
END my_func;;
analyze(DboType.Function, content, { tables: {} });
``
See LICENSE.