Interactive scripting #652
Replies: 3 comments
-
pest does not support streamed inputs for now, but you can consider having a grammar that parses input per lines. |
Beta Was this translation helpful? Give feedback.
-
If your grammar requires a closing indicator, you can just attempt a parse on every newline and then figure out if it failed because of not being complete or not being correct. It's not automatic and doesn't work for all grammars, but it should work. |
Beta Was this translation helpful? Give feedback.
-
The IntelliJ plugin might be what you're looking for -- it is GUI, but you can edit grammar and the-file-parsed-by-grammar and real-time syntax highlight your file. |
Beta Was this translation helpful? Give feedback.
-
Using Python's interpreter I can input a part of the if clause, the interpreter will wait until I input all of the clause. How can I achieve this with pest?
Beta Was this translation helpful? Give feedback.
All reactions