News for hackers. Stuff that matters.
Re:The Xonsh Python Shell by scopatz on Monday October 12, 2020 @06:42PM (#24760311)
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.
Re:The Xonsh Python Shell by geophile on Monday October 12, 2020 @08:37PM (#24761149)
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?