added missing keywords for plsql#1501
added missing keywords for plsql#1501verfriemelt-dot-org wants to merge 6 commits intoPrismJS:masterfrom verfriemelt-dot-org:master
Conversation
* AND * FOREACH * IN * INOUT * NEXT * NOT * OR * QUERY * VARIADIC
|
Could you please also update the |
|
sure |
|
all done now. |
|
i will replace the spaces with tabs no problem. i implement the missing default operators from pgsql, since there are quite some, which are not present in standard sql, that we use. so i go ahead and add them all at once, the complete list would be the following. while im at it, i would go ahead and sort out any mixups between operators ( LIKE, AND, OR, XOR ) and keywords. |
…ent/static/sql-keywords-appendix.html +added all operators from current version
|
while fact checking for some keywords i noticed that there are a lot missing, and while i added the all operators i figured, i could add all keywords present in the current pgsql version. the list is quite long, and im not sure, if this is the right thing to do. so i could understand if you would reject that PR |
You did nothing wrong. Other languages have huge keyword list too and with a few adjustments, we can make the list a little shorter. ;) Ok, right now this PR needs a few changes:
With these techniques, we should be able to half the current file size to about 5~6kb. Relatively big but manageable. (And don't forget to update the minified file ^^) |
|
i added this as an array in the current form because i dont know if its feasible with so many keywords, and i woulndt waste my time getting rejected after combining this query. |
|
@verfriemelt-dot-org This something you're still interested in pursuing? |
|
Firstly, please forgive me for my ridiculous demands 3 years ago. I'm sorry. While reviewing this PR again, I was unable to verify the keywords and operators used in this PR. Since the list of keywords seem to be from an incorrect source or a different language, I will now close this PR. Sorry @verfriemelt-dot-org! |
|
no worries mate ;) the keywords and operators refered here are comming from postgresql: https://www.postgresql.org/docs/current/sql-keywords-appendix.html and the operators were retrieved directly from a running instance. |
these were missing