phact / CassandraDataModeler

Data Modeler and diagnostic tool for Cassandra
http://www.sestevez.com/sestevez/CassandraDataModeler/
Apache License 2.0
24 stars 12 forks source link

Move from Regexs to a Grammar #34

Open clohfink opened 8 years ago

clohfink commented 8 years ago

Use something like http://pegjs.org/ to parse the CREATE TABLE statement instead of a complex regex (which misses some scenarios)

phact commented 8 years ago

I'm very much +1 on this. The regex approach is failure prone.