hi all . i am trying to build a parser in ANSI C . I made a lexical\nanalyser in the same language a while ago . It was a very simple lexer\nthat tokenised a simple C source code text file - basically a very\nsimple lexer . I had made use of hash tables for the data structure .\nNow i want to know how to build a parser . I'll let you know what i\nknow about parser building - i'll need a grammar written in the form\nof regular expressions , i would need to implement something called a\nparse tree in a data structure of my choice and so on . The problem is\nthat i know stuff here and there but i haven't got a full picture as\nto what approach is to be taken to attack the problem ,i.e, i do not\nknow the steps involved in the learning curve for parser building .\nCan anyone out there kindly layout the steps to be taken in proper\norder ? i want to have a working parser in the next 15 days since\nthats the amount of time after which my college resumes . I have\ncompiler construction in my next semester so i want to have atleast\nthe front-end ready before the course starts . I do not want a very\nefficient , high-end or hi-tech parser - just a simple one that\ndemonstrates the concept decently . Any language whose grammar (in the\nform of REs) is available would do , its not that i want to stick with\nC alone since i made my lexer for that . It would be very appreciative\nif anyone who's made a parser before in C could lend me the source\ncode for studying purposes . Resorces that would not take much time\nare welcome - you see , since i have time constraints i'd like to get\nto the coding part as soon as possible (and please tell me where to\nget that grammar from too) .\n Thanking in anticipation . Vaib .