+ 1

I want to create an interpreter. what is the most simple programming language to make it?

I want to create an interpreter. what is the most simple programming language to make it? someone there know?

18th May 2018, 9:51 PM
Suyahman
Suyahman - avatar
7 Réponses
+ 3
You want to be able to speed your interpreter up later on when it's needed, so I recommend you C++. Sure, it's harder and it takes longer, but you have control over your performance. I agree with Mickel Sánchez and bob, doing a tutorial first is a good idea.
19th May 2018, 4:06 AM
Timon Paßlick
+ 3
You could install Cygwin or MinGW. They both let you use tools from the Linux environment. Another option is to use another compiler. Although I think there is a version of CodeBlocks that includes MinGW by default. (codeblocks-17.12mingw-setup.exe) https://sourceforge.net/projects/codeblocks/files/Binaries/17.12/Windows/
20th May 2018, 3:24 AM
Mickel
Mickel - avatar
+ 2
Have you ever seen a tutorial on how to create an interpreter for Sheme (Lisp)? You can use one of them as a basis for what you want to create. You could also look, as bob said, for a tutorial on how to create your own programming language. There they should cover how to make a more complete interpreter. http://norvig.com/lispy.html
18th May 2018, 11:04 PM
Mickel
Mickel - avatar
+ 1
Have you tried to search "how to make own programming language"? C++ or Python.
18th May 2018, 9:54 PM
BugBuster
BugBuster - avatar
+ 1
Thank you all
20th May 2018, 3:14 AM
Suyahman
Suyahman - avatar
+ 1
Now i use IDE, Code block for my Code. But how run it in Windows? In Linux it running with "make" command
20th May 2018, 3:18 AM
Suyahman
Suyahman - avatar
0
Okey. Thank for it
20th May 2018, 3:25 AM
Suyahman
Suyahman - avatar