I want to make my own programming language based on python which will provide additional features that python wasn't provide, for example to make multiline anonymous function with custom syntax. I want my programming language is so simple to be used, just import my script, then I read the script file which is imported my script, then process it's code and stop anymore execution of the script which called my script to prevent error on syntax...
Let say there are 2 py file, main.py
and MyLanguage.py
The main.py imported MyLanguage.py
Then how to get the main.py
file from MyLanguage.py
if main.py
can be another name(Dynamic Name)?
Additional information: I using python 3.4.4 on Windows 7