Skip to content
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

HI How to use this repo? #1

Open
parvizrovshanaliyev opened this issue Nov 19, 2022 · 1 comment
Open

HI How to use this repo? #1

parvizrovshanaliyev opened this issue Nov 19, 2022 · 1 comment
Assignees
Labels

Comments

@parvizrovshanaliyev
Copy link

No description provided.

@parvizrovshanaliyev parvizrovshanaliyev changed the title HI How to use yhis repo? HI How to use this repo? Nov 19, 2022
@rjuju rjuju self-assigned this Nov 20, 2022
@rjuju rjuju added the question label Nov 20, 2022
@rjuju
Copy link
Owner

rjuju commented Nov 20, 2022

Hi,

This is a perl project so you need a perl executor. As mentioned in the readme, you also need the Marpa::R2 module. You can install cpan / cpanminus for that. For instance with cpanminus installed, you could do:

cpanm --notest Marpa::R2

to install the module.

Then just use one of the top-level wrapper script. For instance to convert Oracle SQL to postgres:

$ cat /tmp/dual.txt
SELECT 1 FROM dual;

$ ./plsql2pg.pl /tmp/dual.sql
SELECT 1 ;

Note that this project is a work in progress, and not all syntax is handled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants