For making a language
1.you need to read a file where the code of your language can written (test.lang) .
2.Then You have to split yr code and make a key value list in python . The file lexer do that.
3.Then you have to evaluate and process the code written in the test.lang (according to our Syntex) in par.py file
4.you get the output in cmd by running the main.py file.
You need to understand the flow and the function of the variables.
You can understand the flow by printing the value of variables.
For making a language
1.you need to read a file where the code of your language can written (test.lang) .
2.Then You have to split yr code and make a key value list in python . The file lexer do that.
3.Then you have to evaluate and process the code written in the test.lang (according to our Syntex) in par.py file
4.you get the output in cmd by running the main.py file.
You need to understand the flow and the function of the variables.
You can understand the flow by printing the value of variables.