cling icon indicating copy to clipboard operation
cling copied to clipboard

support bracketed paste

Open Freed-Wu opened this issue 2 years ago • 5 comments

See https://en.wikipedia.org/wiki/Bracketed-paste.

Now cling doesn't support it.

[cling]$ 200~#include <stdarg.h>201~
input_line_3:2:5: error: expected ';' after expression
 200~#include <stdarg.h>201~
    ^
    ;
input_line_3:2:6: error: expected expression
 200~#include <stdarg.h>201~
     ^

Freed-Wu avatar Mar 28 '23 09:03 Freed-Wu

Is there a way to declare a multiline statement?

leg7 avatar Nov 08 '23 22:11 leg7

Is there a way to declare a multiline statement?

Did you try like in C++, using a \ + enter ?

ferdymercury avatar Apr 12 '24 12:04 ferdymercury

I haven't. I've only used cling a couple times to do bit manipulation stuff since then. I wanted to use it as a dev repl when I first found out about it but I couldn't get it working well enough.

leg7 avatar Apr 13 '24 20:04 leg7