Skip to content

Commit

Permalink
[mysql/Oracle] Add ports for sql/mysql/Oracle, and add a better test …
Browse files Browse the repository at this point in the history
…suite for the grammar. (#4278)

* Port sql/mysql/Oracle to CSharp.

* Remove dependency on Antlr4BuildTasks (for trperf) and add StackQueue.

* Add Antlr4ng target and redo actions in grammar.

* Updates for CSharp and Antlr4ng targets.

* Fix Antlr4ng code.

* Force removal of original/ from Generated directory because tsc wants to compile that code.

* Fix gitattributes for mysql/Oracle/examples/

* Update test to remove parse errors.

* Remove errors and tree files.

* Complete fixing tests.

* Update formatting of "#NB".

* Add Java port.

* Add source file.

* Add TypeScript port.

* Adjust TypeScript lexer and parser settings.

* Update CSharp target.

* Update other targets as we added a few new methods for target agnostic format.

* Update base class for TypeScript.

* Clean up.

* Updates for all targets due to additional Antlr Action changes.

* Make sure lexer and parser are initialized even for trparse and trperf tools.
  • Loading branch information
kaby76 authored Oct 23, 2024
1 parent 2b47574 commit 9f95ea4
Show file tree
Hide file tree
Showing 61 changed files with 17,669 additions and 158 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,5 @@ sql/postgresql/examples.errors/** linguist-vendored
v/failed_examples/** linguist-vendored

lua/examples/* eol=lf

sql/mysql/Oracle/examples/*.sql eol=lf
Loading

0 comments on commit 9f95ea4

Please sign in to comment.