Hacker News new | ask | show | jobs
by scopatz 2081 days ago
FWIW (as the original author of xonsh), xonsh does have a strict separation of Python and subprocess syntax. Users can always choose to write in fully formal xonsh, it is just that most users choose to use the default convenience mechanisms that xonsh provides.
1 comments

Thanks for the clarification. I read an interview with you, and there was some discussion of the difficulties in parsing things like "ls -lR", and whether to interpret that as an ls command with flags, or a subtraction. (If I'm remembering correctly.)

If a xonsh user does want to do strict separation, how does that work? Syntactically, how do you separate shell code from Python code?