3 ms·
This is a super cool idea, I'm surprised there isn't ambiguity in parsing shell commands vs python. For example if a user types "a | b", do they want to run pr
by assbuttbuttass 5y ago
This is a super cool idea, I'm surprised there isn't ambiguity in parsing shell commands vs python.
For example if a user types "a | b", do they want to run process a and pipe it into b, or are they trying to bitwise or variables a and b?
- gabrielsroka 5y agoThere's a Python mode and a subprocess mode. https://xon.sh/tutorial.html#python-mode-vs-subprocess-mode https://xon.sh/tutorial.html#python-mode-vs-subprocess-mode
- bobbylarrybobby 5y agoThere is ambiguity. "open .file" is parsed as "open.file", which is an error in Python