AmpersandTarski / Ampersand

Build database applications faster than anyone else, and keep your data pollution free as a bonus.
http://ampersandtarski.github.io/
GNU General Public License v3.0
40 stars 8 forks source link

Enable warnings at the Parser level #1367

Open hanjoosten opened 1 year ago

hanjoosten commented 1 year ago

We still have an old version of the VIEW statement in the current syntax. In order to get rid of this in the future, it would be nice to be able to warn people if they still use it. This requires the ability to add warnings to the Parser State. The Parser State currently only contains the current position of the parser. If that would be extended with a list of warnings, that would suffice to implement warnings at the parser level. :)