i am making a programming language and i need to know something. i am going to write a code that does this.
when you drag the txt file over the modules exe file and then it reads the file. it breaks it up into tokens and then analyses the token. i know how to do all of that except i don't know how to do the first part, drag the txt file on the exe file and for the module to read the txt file.
can you please give me an example on how to read the text file.
thanks in advance,