Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Fix operator handling #36

Merged
merged 15 commits into from
Nov 22, 2021
Merged

Fix operator handling #36

merged 15 commits into from
Nov 22, 2021

Conversation

inferrinizzard
Copy link
Owner

@inferrinizzard inferrinizzard commented Nov 16, 2021

Fixes the following issues:

Changes:

  • added proper backtick handling for standard SQL
  • updated operator lists for all languages
  • added exhaustive list of monad operators to regexFactory/Tokenizer
  • added support for curly braces ({})
  • added test for curly braces and backticks
  • (util) updated isToken function
  • added hex string type for Pl/SQL (x'')
  • added negative lookahead for reserved words to prevent matching on words with specialWordChars
  • broke specialWordChar into 3 categories of prefix(only start), suffix(only tail), any(where)
    • added : as prefix for MySQL
  • added @@ support for MySQL system variables
  • added support for array accessors (column[1]) and map accessors (column['key'])

@inferrinizzard inferrinizzard added bug Something isn't working enhancement New feature or request labels Nov 16, 2021
@inferrinizzard inferrinizzard self-assigned this Nov 16, 2021
@inferrinizzard inferrinizzard linked an issue Nov 16, 2021 that may be closed by this pull request
Copy link
Owner Author

@inferrinizzard inferrinizzard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Update string type regexes later
  • double check operator lists in future

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for adjacent unary operators Add support for missing operators
1 participant