Code Monkey home page Code Monkey logo

Comments (8)

salvoravida avatar salvoravida commented on May 27, 2024 1

@wewoor I'm closing this as now the PR has been merged.
Could you please release a new npm version?

from monaco-sql-languages.

wewoor avatar wewoor commented on May 27, 2024 1

@wewoor I'm closing this as now the PR has been merged. Could you please release a new npm version?

It's Ok, wait a minute~

from monaco-sql-languages.

wewoor avatar wewoor commented on May 27, 2024 1

@salvoravida https://www.npmjs.com/package/monaco-sql-languages/v/0.10.0

from monaco-sql-languages.

wewoor avatar wewoor commented on May 27, 2024

Hi, on the homepage, there is a mention of PGSQL support.

Where can I find the relative worker?

Sorry, it's a mistake of docs, I think you can try to compile the https://github.com/antlr/grammars-v4/tree/master/sql/postgresql to parser and integrate it by yourself.

from monaco-sql-languages.

salvoravida avatar salvoravida commented on May 27, 2024

Thanks!
Do you mean to use this script https://github.com/DTStack/dt-sql-parser/blob/master/build/antlr4.js
and adding the pgsql g4 file like here https://github.com/DTStack/dt-sql-parser/tree/master/src/grammar/generic

?

from monaco-sql-languages.

wewoor avatar wewoor commented on May 27, 2024

@salvoravida of course, you can refer to dt-sql-parser project, or use this https://github.com/tunnelvisionlabs/antlr4ts project

from monaco-sql-languages.

salvoravida avatar salvoravida commented on May 27, 2024

rc/grammar/pgsql/PostgreSQLLexer.g4:2196:29: syntax error: mismatched input 'options {' expecting COLON while matching a lexer rule

@wewoor I'm getting this error while building. Any idea? is it possible that the 4.8 ant version is old?

from monaco-sql-languages.

salvoravida avatar salvoravida commented on May 27, 2024

Hi @wewoor Added a PR here DTStack/dt-sql-parser#59
lmk (it is needed before I can create the relative PR here)

from monaco-sql-languages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.