[antlr-interest] need help command(query) language
Siva B
sivaits4u at gmail.com
Wed Oct 28 20:35:51 PDT 2009
hi all,
i *need* to write a language interpreter which should always start with a
command
like
USE x_database;
without executing the above i can't write SELECT command
similar way i *need* to execute the command language.
if i run USE command i can remember(store ) the database name and i
can run other commands(SELECT,INSERT UPDATE) well but if don't run the
USE command and if i try to run other commands that should give some
warning.
How can i do it.
any *help*...
I want to print simply like 'database is not selected'
plz *help* me...
Thanks,
Kiso
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091029/b7c2199c/attachment.html
More information about the antlr-interest
mailing list