migrate icon indicating copy to clipboard operation
migrate copied to clipboard

feat: replace mulit statement parsing with comment aware parsing

Open evadnoob opened this issue 3 years ago • 0 comments

existing multi-statement parsing was not aware of lines that start with -- this new function implementation could be extended in the future to support end of line comments as well as embedded comments.

for now I chose to go with a very naive scanner/lexer, it could easily be converted to use a state machine to emit statements, but this method is simple enough to be placed directly in migrate with little changes. Possibly good enough for now.

evadnoob avatar Jan 24 '22 20:01 evadnoob