hey ppl,
i'm tring to write a program that works as scanner(Compiler's Lexical analysis phase).I have a general imagine on how i'll make the program read code from file and seperate words so as to generate the appropriate token class for each word but i've a very essential missing
i've no idea on how the program can generate the token class for each word
is there is a built in method in C# that takes a word an returns its token class??
is there is a database that conatins all the keywords,operators,functions,.... of C#??
please help me:(
thx,