i want to make programming language someone know from where i can get tutorials on this subject ?
i want to make programming language someone know from where i can get tutorials on this subject ?
The Dragon book"Compilers: Principles, Techniques and Tools", I here is good.
You will probably have to get this one from Amazon. Making your
own complete programming language is very hard, a less ambitious goal
would be like making a BASIC interpreter.
and how can i make a basic interpreter
interpreters are simple. you read in the file (which is plain text) and have some statements like
if(strcmp(buffer, "print")==0)
printf("whatever");
....you get the idea.
There's a series of tutorials for implementing a sripting language near the bottom of this page.
there is another method?
http://www.hof.net/~gbasic/
GBASIC is a BASIC interpreter written in C. You d/l the source code at this site. It's not much, but it may give you and idea of how to get started.