#AZ9 Do I have to implement my own SQL tokenizer and parser?

Stage instructions don’t specify how one should go about processing “SELECT name FROM apples” command, but I suspect just hardcoding “return values of second row in table ‘apples’” would be wrong.

Hence, I started making my own SQL parser, with tokenization, abstract syntax trees and all. This, however, is a great deal of work and I’m starting to second-guess myself whether this is what the challenge wants me to do.

I should probably make a parser for at least some commands, just seems that challenge difficulty suddenly skyrocketed :face_with_spiral_eyes:

Hey @sleep-paralysis-daemon, you don’t have to do that. We’re not sending particularly complex queries in this challenge.

A lightweight approach (possibly using existing libraries) should be more than enough to get you through the stages.

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.