First of all, I want a programming language to make interactions between that language and my application environment. I wrote something that just knows if
, void
and function
, variables with their scopes and of course invoke built-in functions which they are all working perfectly. But now, I'm stuck with some parts and realized that I can't continue with just simple text parsing and there are many things that I can't do.
So for that, I searched about this topic and I got Creating programming language using C#. It was fine but I have two problems with it.
For short, Is there anyone who knows how I can make a language without learning about Lexers, Reflections ...
Thanks.
I'm not sure if I really understand your question.
Is this to be an extension of your program? A collection of library functions written in C#?
Or a completely separate language for which you are writing an interpreter in C#? (which is what I guess)
If it is the latter, in the good old days I would have pointed you at Lex/Yacc (GIYF).
Right now, I can only say ANTLR. Check out the Five minute introduction to ANTLR 3 and ANTLR v3 C# Code generator and Runtime library
Just check out the screen shots of the IDE on this page
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With