I am trying to create a simple parser/lexer, my problem is I have to use this in silverlight, so I need a parser/lexer that requires no runtime, it needs to have pure C# code without any dependency on any runtime. I know there used to be lex/yacc tool, but cant find it anymore for C#, I did study Sql Modelling M language, but to my understanding, it will not work inside silverlight as it needs Sql modelling runtime or some dependent components that may not be available on silverlight on non microsoft platform.
So M Programming looks like out, can ANTLR be used in silverlight or is there any other parser which generates all the code without any runtime dependencies?