A
A
Art2222222021-07-11 10:21:46
C++ / C#
Art222222, 2021-07-11 10:21:46

I want to make my own programming language in C#. What libraries are there for this?

I want to write my own programming language in C#. Are there any libraries to simplify the creation of a lexer, parser and all that? Or will you have to do everything manually / choose another language for writing?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
ayazer, 2021-07-11
@Art222222

antlr, gplex/gppg (analogous to lex/yacc) and probably a dozen lesser known ones.

V
Vasily Bannikov, 2021-07-11
@vabka

- You can use antlr to describe the grammar
- You can describe the grammar in C# using Irony
- You can completely use your hands
But the interpreter / compiler of your language will have to be written completely by hand.
PS: I usually use Irony myself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question