Possible Duplicate:
Learning incremental compilation design
As a undergraduate project, we design a simple scrip language, and translate the scrip codes to c++ with gcc for the execution on MS os. We would like to implement a function of syntax/grammar check when user writing the scrip code, but have no idea of how to do. Is the check function dependent/independent of the IDE? Does there exist open-source implementation so that we can learn from them? We know the syntax highlighting from Writing a syntax highlighter, and is it related to the check function?
Any suggestion would be much appreciated.
Thanks.