Thanks Florian,
I’m using node v16.13.1 on both Windows and Ubuntu.
I’m on Windows 10, Version 21H2 (OS Build 19044.1466) (just updated today).
I have Ubuntu 20.04 installed from the Windows store and yesterday ran sudo apt
update && sudo apt upgrade.
FWIW, the Python REPL (Python 3.10.1 installed from python.org) works
beautifully (as in like deno, not node).
I’ll poke around more as well. Appreciate your help.
Thanks,
Joel
From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On Behalf
Of Florian Beijers
Sent: Thursday, January 13, 2022 3:57 PM
To: program-l <program-l@xxxxxxxxxxxxx>
Subject: [program-l] Re: JavaScript REPL ... or ...
Hi,
I will experiment with this some and get back to you. What you are describing
does sound suboptimal and it certainly did not do this when I last tried it,
but this is node we're talking about, things change rapidly. Could you do me a
favor and tell me what node version you're using, just so I can closely
replicate what you were trying to do?
Thanks,
Florian
Op vr 14 jan. 2022 om 00:51 schreef <joeldodson@xxxxxxxxx
<mailto:joeldodson@xxxxxxxxx> >:
Hi Florian,
Glad you asked. After I sent this mail, I listened to a 2022 predictions
podcast from Syntax and they're predicting a tepid future for deno. Who knows.
Running 'node' from either the bash shell on Ubuntu or PowerShell on Windows
does put me into a REPL. The problem is after I type some JS and hit enter, I
hear nothing. I use number pad seven to scroll up a line and can hear the
output.
I just tried more experimenting and heard some weird stuff. When I type the
following:
Let h = 'hello';
Let w = 'world';
h + w
How I stopped worrying and learned to love JavaScript (shoutout for** To leave the list, click on the immediately-following link:-
fans of cult classic 1960's movies).
I'm working on learning React which means I need to brush up on JavaScript.
As I hope many people here realize, a REPL like Python or Ruby comes
with, is a great way to experiment and solidify one's understandings
of nuances of different constructs. I also like to use the Python
REPL, import requests, and poke at third party REST APIs. It's like a
more interactive curl.
<editing out rant about looking for a JavaScript REPL and how badly
node works on the command line with NVDA>
About at the end of my rope, I recalled hearing about deno
(https://deno.land). The scales have fallen from my eyes.
<editing out effusive praise for deno>
Indeed, deno has what seems so far to be a great JS REPL,
https://deno.land/manual@main/tools/repl. It works great with NVDA ;
running from a bash shell on Ubuntu 20.04 running on WSL2 on Windows 10.
In general, though I've only poked around for a day or so, deno seems
like a great project. The manual is very accessible and easy to
navigate with Firefox and NVDA.
Cheers,
Joel
** To leave the list, click on the immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> ?subject=unsubscribe]
** If this link doesn't work then send a message to:
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx>
** and in the Subject line type
** unsubscribe
** For other list commands such as vacation mode, click on the
** immediately-following link:-
** [mailto:program-l-request@xxxxxxxxxxxxx ;
<mailto:program-l-request@xxxxxxxxxxxxx> ?subject=faq]
** or send a message, to
** program-l-request@xxxxxxxxxxxxx <mailto:program-l-request@xxxxxxxxxxxxx>
with the Subject:- faq