JSqlParser icon indicating copy to clipboard operation
JSqlParser copied to clipboard

Any recommended projects for NodeJS / JavaScript

Open rathboma opened this issue 3 years ago • 1 comments
trafficstars

Hey folks,

I maintain Beekeeper Studio, which is built in Electron using JavaScript.

I'd love to use this powerful SQL parser, but unfortunately I don't have Java available to me (unless I jump through some nasty hoops).

Does anyone know of a translation of this project to JavaScript, or a JavaScript library with similar functionality? I currently help maintain Sql Query Identifier, but it really needs to be rebuilt as a 'real' parser.

My last resort is to rewrite the library in TypeScript :scream:, but that sounds terrible!

rathboma avatar May 27 '22 18:05 rathboma

Greetings!

JSQLParser is Java 8 -- so in theory you could try to compile/translate it to JS or WebAssembly using TeaVM. I have not tried that though.

This looks also good: https://github.com/i-net-software/JWebAssembly

manticore-projects avatar May 27 '22 19:05 manticore-projects