There are three types of Python source input -
1. From file
2. From command line (ex cli -d "print('Hello World')")
3. Interactive
-
At the top of the lexer/processor object-graph needs to be a String that can then be referenced multiple times by lower tier strs.
-
Fuck it, everything is a String, just dump everything on the heap.
The battle with &str has been seriously discouraging so I am going with the fuck it plan and everything being a String (heap).
stdin::lock()::read_to_string
- Find out if this is blocking.
After the standard string captures, look for triple quoted strings.
- Need to remember to match/watch for f string and other string prefixes.
If the CAPTURE patterns failed then there will only be a single triple quote/apos on a line followed by content. I know I already solved this before, but it was a mess in Gen 3.