So i have been thinking about this for some time, and talked to my uber geeky friend at school and be both believe it to be possible, but as i am not an assembly man, i don't know for sure.
When BASIC programs execute a line of code, the OS does something like this
:Read in the line :Parse it :Send execution to correct assembly program(s) with parsed data
Would it then be possible for an assembly program to parse the entire program, storing all the parsed data in a file, and then executing the file?
Say you had
the parser sends the execution to something like
The assembly compiler would not store the actual assembly code, just a pointer to the assembly and the parsed data.
This would speed up execution and prevent syntax errors. It would not have all the speed of assembly (Cause all your bypassing is the parsing) but do you think it would work?