Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
95 views

I'm writing a simple REPL for a language with rustyline, and I'm trying to support multiline input using ^J. How do I get rustyline to display a read-only continuation prompt while inserting a ...
quintuple-mallard's user avatar
0 votes
0 answers
64 views

I update to Sublime 4 and I am getting problems with an older chain command keymaps. I am triying to close a Sublime Repl session with a simple chain command, my old shortcut work fine with Sublime 3 ...
Rodrigo Badilla's user avatar
2 votes
1 answer
126 views

I wanted to play around with the .NET cryptography classes in the C# interactive console in Visual Studio 2022 (v17.14.16). I tried creating the default instance of the System.Security.Cryptography....
Greg Burghardt's user avatar
1 vote
1 answer
74 views

By default the run button (triangle) in VS Code runs as new process, not in REPL. This is only available in the drop down next to it. Is it possible to set running in REPL as default? Note: I am ...
Laurence_jj's user avatar
1 vote
1 answer
190 views

I'd like to know how to evaluate a TypeScript typed expression using ts-node --interactive as a REPL. I'm using a Mac and have installed node v24.5.0 via brew, and I've installed ts-node v10.9.2 and ...
Óscar López's user avatar
0 votes
0 answers
44 views

I Always work with 3 windows for run a Latex file, in a specific group using Tinitex or Knitr in R (Repl). In group 3 include commands (set working directory and name file latex) to render or compile ...
Rodrigo_BC's user avatar
0 votes
0 answers
58 views

I'm currently working on a rustyline program. My goal is to host another REPL program as a child process, and do something like auto complete its commands. However, I encountered a problem. The ...
bowen951209's user avatar
1 vote
1 answer
263 views

I am running the same python.exe, from the same working directory, in VS Code's terminal running cmd.exe, and in Windows Terminal running cmd.exe. For some reason, these two behave differently. In ...
bers's user avatar
  • 6,321
2 votes
3 answers
402 views

The Python interpreter can be run either in script or interactive/REPL mode. I do have a Python script as text file but want to run it as if it was manually typed in in the interactive/REPL mode. I ...
Thomas Weise's user avatar
1 vote
2 answers
390 views

I am desperately trying to set up a working environment for Clojure 1.12.0.1488, using IntelliJ 2024.3, Cursive's plugin 2025.1.1-343 and openJDK 24. I am using VoidLinux based on kernel 6.12.28_1, ...
Aurélien Plazzotta's user avatar
3 votes
2 answers
202 views

I have a Python source file with some dummy code: a = 3 if a == 1: print("a = 1") elif a == 2: print("a = 2") else: print("Other") When I submit the code to ...
PingPong's user avatar
  • 1,037
1 vote
1 answer
73 views

I have installed scala through coursier. Running scala --version in the terminal gives the following: C:\Users\Me>scala --version Scala code runner version: 1.4.3 Scala version (default): 3.5.1 ...
MukundKS's user avatar
  • 134
4 votes
1 answer
70 views

Backrgound I'm working on a R Mardkown document which I'm renderring using the knitr package. The document uses Swift as a custom enginge. I'm defining the Swift engine as follows: ```{r, setup, eval=...
Konrad's user avatar
  • 18.8k
0 votes
3 answers
94 views

I have been learning Common Lisp for a short while, using the SBCL 2.0.0 REPL on a Windows 10 machine. At one point in time I inputted the 2 following lines into a REPL: (defvar var-string (print (* 5 ...
Ashley Ben Story's user avatar
2 votes
1 answer
448 views

I have an alias for python3 and one for a Python calculator (pm for Python Math): alias p3='python3 -q' alias pm='python3 -qic"from math import *; import sys; sys.ps1=\"] \"; sys.ps2=\&...
Walter Tross's user avatar
  • 12.7k
9 votes
1 answer
964 views

I am running Python 3.13.1. When I paste code into the Python REPL, Python adds extra spaces at the beginning of every line after the first. I wrote this code in Notepad and pasted it into Python. if ...
user27744573's user avatar
0 votes
1 answer
321 views

In vscode I’m encountering a ModuleNotFoundError when trying to import a module (src) located in my project workspace folder in a Python REPL. Here's the situation: When I run: import os os.getcwd() ...
algebruh's user avatar
  • 410
0 votes
1 answer
150 views

The existing question How to have objects print nicely in Guile scheme repl focuses on customizing the printing of specific user-defined objects (e.g., GOOPS classes). In contrast, I want to globally ...
Rainb's user avatar
  • 2,567
0 votes
1 answer
64 views

When attempting to spawn an interactive bash shell from within a Guile script using the system* function from the ice-9 popen module, the shell does not behave as expected. Specifically, the standard ...
Rainb's user avatar
  • 2,567
1 vote
2 answers
294 views

Previously when I ran py3.12 in shell I could use ctrl + left arrow or ctrl + right arrow to move one word back or forward (skip words). Recently I've upgraded to py3.13 and it doesn't work anymore, ...
Mohamed Hany's user avatar
1 vote
1 answer
176 views

If I run this a = "hello" b = "world" a b in ruby irb(main):007> a = "hello" => "hello" irb(main):008> b = "world" => "world" ...
stevec's user avatar
  • 55.4k
0 votes
1 answer
32 views

(setq *print-circle* T) ;; then create some list with a large number of items, of which a bunch ;; of them repeat If you then try to print the list in the repl, you will see a lot of unfamiliar text....
JEPrice's user avatar
  • 713
4 votes
1 answer
349 views

I just upgraded to Python 3.13 and found that the vim key bindings that I had set up via readline and ~/.editrc, which worked in previous releases of the Python REPL, no longer work. Is there some way ...
Ben Kovitz's user avatar
  • 5,120
7 votes
1 answer
2k views

When I type kotlin (or kotlinc) to get into the REPL interactive shell in the latest 2.1 beta, I see this: Welcome to Kotlin version 2.1.0-Beta2 (JRE 21.0.4+8-LTS-274) Warning: this REPL ...
k314159's user avatar
  • 12.5k
1 vote
0 answers
62 views

I'm using the built in repl package in Node with a custom completer: const replServer = repl.start({ completer: myCustomCompleterFunction, }); The purpose of the custom completer is to ...
Patrick McElhaney's user avatar
0 votes
1 answer
615 views

I tried to make an embed on Wix, but I didn't how to. I also tried to make an embed on W3 schools, which kind of worked, but it didn't run the project but instead showed the files of the project. I ...
Exuberate Exuberate's user avatar
0 votes
1 answer
150 views

I have lldb 18.1.5 running on a Termux installation replete with multiple languages, but cannot get lldb -r -R "language" going for any of them. Apparently I need a config file .lldbinit-...
krnntp's user avatar
  • 11
1 vote
0 answers
75 views

I'm totally new to kotlin so I just installed IntelliJ on my pc for a course I'm taking. Since I'm not new to programming using the autocomplete is merely to save a little time. I assumed it'd be ...
mikis__'s user avatar
  • 11
-1 votes
1 answer
311 views

Is there a mechanism that lets user to invoke a function stored in a static/archive library from clang-repl? "%lib" magic only recognizes dynamic libraries. I further tried to utilize ...
tantuni's user avatar
  • 699
1 vote
1 answer
101 views

I can't seem to figure out how to get Haskeline to allow the user to use the arrow keys to go through command history. I read Hackage and tried using Settings { complete = completeFilename, ...
pidgeon's user avatar
  • 13
2 votes
0 answers
110 views

I'm struggling with pytest configuration. I would like to: use breakpoint() wherever I want in my tests to start debugging sessions, in that case, be able to enter multi line inputs (several lines of ...
scūriolus's user avatar
  • 1,040
0 votes
1 answer
33 views

I've got a SQL string that I'd like to run a regex against. I can't get it to paste correctly. > .editor // Entering editor mode (Ctrl+D to finish, Ctrl+C to cancel) s="with docs as ( ...
jcollum's user avatar
  • 47.1k
0 votes
1 answer
121 views

I use Julia version 1.10.0. When evaluating power expressions such as 2^3, in REPL, Pluto or VScode, the exponent change immediately into a superscript and then get a ParseError with the information ...
ezyman's user avatar
  • 441
1 vote
1 answer
180 views

I am trying to follow a tutorial where I need to paste Kotlin code into Kotlin REPL of IntelliJ IDEA. But when I paste the content and press CTRL+ENTER to execute I cannot see any output. Any ideas ...
Page not found's user avatar
0 votes
1 answer
115 views

In Clojure REPL: (macroexpand-1 `(sum 2 1)) ; (user/sum 2 1) In Clojurescript REPL: (macroexpand-1 `(sum 2 1)) ; AssertionError: Assert failed: Argument to macroexpand-1 must be quoted Why it ...
rusfrompiter's user avatar
2 votes
1 answer
180 views

Simple question, but how can i exit or quit Rust's REPL tool called evcxr? I tried quit(), exit(), :q and ran out of ideas after that. Well I can always do ctrl-c of course, but I was wondering if ...
Sander van den Oord's user avatar
1 vote
2 answers
713 views

I'm working on some networking code in Python that uses the asyncio module and I like to use the Python REPL from -m asyncio a lot for testing examples. What I've noticed though is the default event ...
Matthew Roberts's user avatar
2 votes
0 answers
91 views

I'm writting a shell in Common Lisp that reads command from the user's input and returns the output after executing. When the user types a "meta" command I want to write a placeholder so ...
Antonio Solana's user avatar
0 votes
1 answer
59 views

I have a test js script to load into REPL session: // testRepl.js const cls = () => console.clear(); const msg = txt => console.info(txt); const ajax = url => msg(url); I am loading this ...
Himanshu Agrawal's user avatar
0 votes
1 answer
338 views

I am designing a console app in Node.js using readline to control the cursor positions and get user input. Here is a library I have written for the same: // ReadLine.js const readline = require("...
Himanshu Agrawal's user avatar
-1 votes
1 answer
74 views

Why does this code give me a syntax error in idle? if I use python online, which was correct. I was expecting an output like the second photo. What is the problem and how can I fix it?
Ko Ue's user avatar
  • 1
2 votes
2 answers
79 views

While using node js repl to run run require command latest file changes are not getting captured. OS => Windows 11 Node Version => 16.6.0 Let script.js has content global.testObject = {}; ...
Livin Sunny's user avatar
0 votes
1 answer
131 views

I'm coding a small project and so far all of my code is just in the core.clj file. I can't remember the exact steps I took, but I was messing around with the debugger and now my core.clj file will ...
Braden Christopher's user avatar
0 votes
2 answers
97 views

I am learning Python3. It is executed on MacOS/Terminal by running python3. I was able to execute some examples from the book "Deep Learning with Python, Second Edition", but I am stuck now ...
Reinhard Männer's user avatar
1 vote
2 answers
478 views

In Python 2.7, when I opened Python interactively with the >>> prompts, the commands it took were Vim style. I love that. When I use Python 3.9 it doesn't and the editor is much more ...
Marshall Jobe's user avatar
1 vote
1 answer
193 views

I have a node server which displays logs of stuff happening in the terminal. I want to put a repl server in it so I can control the server while it is running. But I do not want the logs and the repl ...
Taureon's user avatar
  • 111
1 vote
1 answer
165 views

Let's say I have a Julia script called myscript.jl. It contains the following code: x = 3 When I call this script using nohup: nohup julia < myscript.jl > out_myscript.log & I get this on ...
duodenum's user avatar
1 vote
1 answer
884 views

I am following this Q&A's procedure for accessing Python's REPL command history -- specifically at the Conda prompt, not in an IDE. I am using Python 3.9 installed under Anaconda on Windows 10. ...
user2153235's user avatar
  • 1,285
0 votes
0 answers
59 views

I am trying to run IOS tests using xamarin. the same test automation is running on android. tree: tree image REPL tool after querying all elements : app.Query(c=>c.All()) enter image description ...
Naincy Jain's user avatar
-7 votes
1 answer
96 views

I start the repl with cjl and get the prompt Clojure 1.11.1 user=> At the user prompt I enter (+ 1 2 3) and hit return. The output is this: user=> (+ 1 2 (+ 1 2 3) 6 I think the operation I ...
Rob's user avatar
  • 15.2k

1
2 3 4 5
31