Re:Parsing Algorithms
by DmitrySoshnikov on Monday October 26, 2020 @04:23PM
(#24900926)
Yes, if you need to parse that input string to generates an appropriate SQL query, you would need to have a small DSL (domain-specific language) for that "string", whatever it contains. If the string contains SQL-like syntax, e.g. "SELECT name from users", then yes, it would be easy to build a grammar for this.
[ Parent
| on HN ]
There are no comments on this comment yet.