Re: New developments in beginner-friendly editing/repl environments?

2018-08-31 Thread Mark Engelberg
As someone who has taught beginners, I agree 100% with Lee's wishlist.  It
is very important to have an easy install process that gets you to an
editing environment that lets you leverage existing text editing skills
with minimal or no paren magic, with a focus on making the indenting
reflect what the typed parens indicate.  I also place a premium on ease of
starting a REPL, switching to namespace of file, and sending file to REPL.

Cursive can become a fairly simple and intuitive environment... after a
couple hours of configuration.  I'd be curious to try the new Parinfer v2
sometime to see if it improves on the things that bothered me about v1.

Counterclockwise was the best beginner option for a long time, but sadly is
no longer supported.

If anyone is motivated to work on this problem, check out DrRacket as a
model of a great educational IDE: simple enough for beginners and robust
enough for power users.  Look especially at how they handle parens (right
paren and right square bracket by default will automatically type the
correct bracket to match the corresponding left bracket, but otherwise no
magic -- lots of great auto-indenting capabilities so you understand what
your parens are doing to the structure of the code).


On Mon, Aug 27, 2018 at 6:45 AM, 'Lee' via Clojure  wrote:

> This is my roughly-annual check-in to see if there are new good
> editing/execution options for me to use in my Clojure teaching and coding.
>
> My requirements are:
>
> - Simple installation/setup, even for new programmers, on Mac/Win/Linux
>
> - Usable by new programmers without significant training or learning curve
>
> - Syntax-aware re-indentation
>
> - Visual indication of matching brackets (e.g. matching bracket
> highlighted, or rainbow brackets, etc.)
>
> - No required use of paredit or parinfer
>
> Bells and whistles that would help but aren't as critical as the
> requirements listed above:
>
> - Access to argument lists, documentation, and symbol completion while
> typing
>
> - Integrated REPL, although a command-line REPL paired with an editor that
> met the requirements above would work
>
> I would be interested in solutions that work for Clojure and
> Clojurescript, or just Clojure, or just Clojurescript.
>
> Recent developments of which I'm aware but fall short of my requirements:
>
> - Nightcode and Lightmod, which would be fabulous if not for the required
> use of parinfer
>
> - Jupyter-based approaches, which also seem great except I see none with
> syntax-aware re-indentation for Clojure
>
> FYI what I'm currently using is a combination of Gorilla REPL and
> leiningen at the command line. This is quite nice although
> installation/setup is not as easy or foolproof as I would like (I've had
> students who tried and failed to get it working on their Windows laptops
> for an entire semester, messing with Java versions etc.), Gorilla REPL is
> not very actively maintained, and the requirement to do some things at the
> command line isn't ideal.
>
> Options I've used in the past, which more-or-less met my requirements but
> are no longer viable, include Clooj, Nightcode (old versions, before
> parinfer), and Counterclockwise.
>
> I also try to keep an eye on "high-end" IDEs like Emacs and Cursive, but
> so far haven't found any that really meet my requirements for simple
> installation/setup and usability for beginners.
>
> Any pointers would be very much appreciated!
>
> Thanks,
>
>  -Lee
>
> --
> Lee Spector, Professor of Computer Science
> Director, Institute for Computational Intelligence
> Hampshire College, Amherst, Massachusetts, 01002, USA
> lspec...@hampshire.edu, http://hampshire.edu/lspector/, 413-559-5352
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 

RE: New developments in beginner-friendly editing/repl environments?

2018-08-30 Thread Sean Corfield
'Lee' via Clojure said, on Thursday, August 
30, 2018 9:25 AM:

> I've got a super intuitive way to control parens: Type them! :-)

I think this is the perfect time for 
http://corfield.org/articles/omg_parens.png :)

Sean

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New developments in beginner-friendly editing/repl environments?

2018-08-30 Thread 'Lee' via Clojure

I've got a super intuitive way to control parens: Type them! :-)

On Thursday, August 30, 2018 at 7:59:45 AM UTC-4, tbc++ wrote:
>
> > I never understood how Python is so popular, where spacing is most 
> important.
>
> > Using tab and shift tab to control parens is really intuitive, because I 
> want to structure my code anyway and doing it the parinfer way is no big 
> adjustment.
>
> I think you answered your own question
>
> On Thu, Aug 30, 2018 at 2:14 AM Philipp Neumann  > wrote:
>
>> I never understood how Python is so popular, where spacing is most 
>> important.
>>
>> Other than that, I really prefer parinfer over paredit, because I don't 
>> have to memorize all the key shortcuts to slurp, barf, split and slice.
>> Using tab and shift tab to control parens is really intuitive, because I 
>> want to structure my code anyway and doing it the parinfer way is no big 
>> adjustment.
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> 
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> “One of the main causes of the fall of the Roman Empire was that–lacking 
> zero–they had no way to indicate successful termination of their C 
> programs.”
> (Robert Firth) 
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New developments in beginner-friendly editing/repl environments?

2018-08-30 Thread Timothy Baldridge
> I never understood how Python is so popular, where spacing is most
important.

> Using tab and shift tab to control parens is really intuitive, because I
want to structure my code anyway and doing it the parinfer way is no big
adjustment.

I think you answered your own question

On Thu, Aug 30, 2018 at 2:14 AM Philipp Neumann 
wrote:

> I never understood how Python is so popular, where spacing is most
> important.
>
> Other than that, I really prefer parinfer over paredit, because I don't
> have to memorize all the key shortcuts to slurp, barf, split and slice.
> Using tab and shift tab to control parens is really intuitive, because I
> want to structure my code anyway and doing it the parinfer way is no big
> adjustment.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
“One of the main causes of the fall of the Roman Empire was that–lacking
zero–they had no way to indicate successful termination of their C
programs.”
(Robert Firth)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New developments in beginner-friendly editing/repl environments?

2018-08-30 Thread Philipp Neumann
I never understood how Python is so popular, where spacing is most 
important.

Other than that, I really prefer parinfer over paredit, because I don't 
have to memorize all the key shortcuts to slurp, barf, split and slice.
Using tab and shift tab to control parens is really intuitive, because I 
want to structure my code anyway and doing it the parinfer way is no big 
adjustment.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New developments in beginner-friendly editing/repl environments?

2018-08-29 Thread 'Lee' via Clojure
I have indeed had conversations with Zach Oakes (developer of Nightcode) 
about the required use of Parinfer.

If I understand correctly, the fact that Parinfer always maintains matching 
brackets makes his life significantly easier in developing other aspects of 
his editor, I guess because he can always read the contents of the buffer 
as a sequence of expressions. This makes sense to me, although it does mean 
that Nightcode no longer meets my needs.

FWIW I've used parinfer for longer than 5 minutes and not gotten to used 
it, and I've seen students get quite cranky fighting with it. I also think 
that the initial experience is particularly important for beginners, who 
may, in some of the contexts in which I teach, already be intimidated by 
all of the other things being thrown at them. Messing with their ability to 
type, or their ability to understand what their editor is doing, is 
something that I really don't want to do, *especially* in their initial 
experience. 

Bigger picture -- and I'm sure some will disagree with this! -- I think the 
mindset encouraged by parinfer is actually antithetical to the way that 
students should understand their code. It's brackets that have meaning, not 
spacing, and to the extent that students have to focus on syntax as they 
type I want them to focus on brackets, not spacing. 

That said, I do think it's essential to have a re-indentation function that 
shows what structure  is implied by the brackets in the code. I find that 
this surfaces most beginner bugs quite nicely, and I'm super happy to have 
learned in this thread that the atom-beautify package does this in Atom.

 -Lee

On Wednesday, August 29, 2018 at 12:09:42 PM UTC-4, Phillip Lord wrote:
>
>
> Have you asked the developer to provide an option? 
>
> From my experience is that parinfer is weird for the first 5 mins. Then 
> it gets less confusing than trying to work out why the indentation is 
> wrong. In paren mode, it does allow adding and removing brackets also. 
>
> Phil 
>
> "'Lee' via Clojure" > writes: 
>
> > Alas, current Nightcode forces use of parinfer, unless something has 
> > changed very recently. 
> > 
> > Previous versions of Nightcode met all of my requirements and I used 
> them 
> > for teaching, and liked it quite a lot. 
> > 
> > But parinfer is a problem. One of my requirements is that the editor 
> acts 
> > mostly like a normal text editor, aside from bracket matching and 
> > user-triggered re-indentation. Auto-insertion of closing brackets is 
> okay 
> > too, if they can be erased. My students know how to type and to cut and 
> > paste text, and I want them to be able to rely on those skills working 
> as 
> > they expect them to work as they learn to program. I've seen parinfer 
> > confuse and frustrate some of my students, and it also happens to clash 
> > badly with my own ways of editing code. 
> > 
> >  -Lee 
> > 
> > 
> > On Monday, August 27, 2018 at 4:36:33 PM UTC-4, Erik Assum wrote: 
> >> 
> >> Have you had a look at Nightcode? 
> >> https://sekao.net/nightcode/ 
> >> 
> >> Erik. 
> >> -- 
> >> i farta 
> >> 
> >> 27. aug. 2018 kl. 22:00 skrev Nando Breiter  >> >: 
> >> 
> >> Lee, 
> >> 
> >> Perhaps https://atom.io/packages/atom-beautify will do what you want. 
> >> 
> >> With Parinfer disabled, I can select and shift-tab all code to the left 
> >> margin, removing all indentation. Then when I run Atom Beautify on the 
> >> file, all indentation is restored. 
> >> 
> >> 
> >> 
> >> Aria Media Sagl 
> >> +41 (0)76 303 4477 cell 
> >> skype: ariamedia 
> >> 
> >> On Mon, Aug 27, 2018 at 9:18 PM, 'Lee' via Clojure < 
> >> clo...@googlegroups.com > wrote: 
> >> 
> >>> 
> >>> Ah -- thank you! 
> >>> 
> >>> Now I can re-indent in Cursive, although it doesn't do the right thing 
> >>> after defn, etc. What do Cursive users do to get standard indentation? 
> >>> 
> >>> Playing a bit more I see some other with basic editing, even in 
> >>> "Structural Off" mode. Like if you type "(defn foo" and hit return, 
> then 
> >>> foo changes into some strange autocompleted symbol. Shift-return 
> avoids 
> >>> this, but the idea is to let people use their pre-existing typing 
> skills. 
> >>> It also won't let you delete to the left of the indentation point (it 
> jumps 
> >>> you up to the previous line), etc. I'm not sure how problematic these 
> >>> issues would be. 
> >>> 
> >>> 
> >>> 
> >>> On Monday, August 27, 2018 at 3:01:37 PM UTC-4, ri...@chartbeat.com 
> >>> wrote: 
>  
>  It’s under one of the code or refactor menus, you can auto-format or 
>  auto-indent. 
>  
>  On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure <
> clo...@googlegroups.com> 
>  wrote: 
>  
>  
>  Probably true that my requirements are a bigger challenge for 
>  multi-language IDEs. I thought Eclipse/Counterclockwise did a 
> reasonable 
>  job of it back when that was an active project, but it was a bit 
> rough too, 
>  since there was a lot of 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-29 Thread Phillip Lord


Have you asked the developer to provide an option?

>From my experience is that parinfer is weird for the first 5 mins. Then
it gets less confusing than trying to work out why the indentation is
wrong. In paren mode, it does allow adding and removing brackets also.

Phil

"'Lee' via Clojure"  writes:

> Alas, current Nightcode forces use of parinfer, unless something has 
> changed very recently.
>
> Previous versions of Nightcode met all of my requirements and I used them 
> for teaching, and liked it quite a lot.
>
> But parinfer is a problem. One of my requirements is that the editor acts 
> mostly like a normal text editor, aside from bracket matching and 
> user-triggered re-indentation. Auto-insertion of closing brackets is okay 
> too, if they can be erased. My students know how to type and to cut and 
> paste text, and I want them to be able to rely on those skills working as 
> they expect them to work as they learn to program. I've seen parinfer 
> confuse and frustrate some of my students, and it also happens to clash 
> badly with my own ways of editing code.
>
>  -Lee
>
>
> On Monday, August 27, 2018 at 4:36:33 PM UTC-4, Erik Assum wrote:
>>
>> Have you had a look at Nightcode?
>> https://sekao.net/nightcode/
>>
>> Erik. 
>> -- 
>> i farta
>>
>> 27. aug. 2018 kl. 22:00 skrev Nando Breiter > >:
>>
>> Lee,
>>
>> Perhaps https://atom.io/packages/atom-beautify will do what you want. 
>>
>> With Parinfer disabled, I can select and shift-tab all code to the left 
>> margin, removing all indentation. Then when I run Atom Beautify on the 
>> file, all indentation is restored. 
>>
>>
>>
>> Aria Media Sagl
>> +41 (0)76 303 4477 cell
>> skype: ariamedia
>>
>> On Mon, Aug 27, 2018 at 9:18 PM, 'Lee' via Clojure <
>> clo...@googlegroups.com > wrote:
>>
>>>
>>> Ah -- thank you! 
>>>
>>> Now I can re-indent in Cursive, although it doesn't do the right thing 
>>> after defn, etc. What do Cursive users do to get standard indentation?
>>>
>>> Playing a bit more I see some other with basic editing, even in 
>>> "Structural Off" mode. Like if you type "(defn foo" and hit return, then 
>>> foo changes into some strange autocompleted symbol. Shift-return avoids 
>>> this, but the idea is to let people use their pre-existing typing skills. 
>>> It also won't let you delete to the left of the indentation point (it jumps 
>>> you up to the previous line), etc. I'm not sure how problematic these 
>>> issues would be.
>>>
>>>
>>>
>>> On Monday, August 27, 2018 at 3:01:37 PM UTC-4, ri...@chartbeat.com 
>>> wrote:

 It’s under one of the code or refactor menus, you can auto-format or 
 auto-indent.

 On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure  
 wrote:


 Probably true that my requirements are a bigger challenge for 
 multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable 
 job of it back when that was an active project, but it was a bit rough 
 too, 
 since there was a lot of incidental and distracting complexity in dealing 
 with Eclipse in general.

 I did see the "off" setting for parinfer/paredit in Cursive, but it's 
 not really "off" in the sense of behaving like a normal text editor, and I 
 don't see re-indentation anywhere. FWIW since this is for teaching I'm not 
 really interested in customization, just reasonable behavior out of the 
 box.


 On Monday, August 27, 2018 at 11:21:47 AM UTC-4, Rick Mangi wrote:
>
> Yeah, I actually just create projects with lein. If you right click on 
> a project.clj you can just fire up a repl via lein and it works really 
> well. There's 3 choices for parenthesis, there's again a little button on 
> the bottom right to switch between parinfer/paredit and off. You can 
> customize all of the code reformatting and you can even alias things like 
> defnp and other macros to evaluate correctly. 
>
> That said, a tool that supports dozens of languages isn't going to do 
> any of them particularly easily :)
>
>
>
> On Mon, Aug 27, 2018 at 11:18 AM 'Lee' via Clojure <
> clo...@googlegroups.com> wrote:
>
>> Thanks Rick. 
>>
>> Just tried Cursive again but it still seems to fail pretty badly on 
>> newbie setup and usability, which is what has hung me up in the past. 
>>
>> tldr: A half hour or so after a fresh install and going through the 
>> Getting Started instructions I still don't have a REPL (confused about 
>> Run 
>> Configurations and what I'm seeing doesn't match the website pics), and 
>> although I can edit code in an existing project with drag and drop 
>> (can't 
>> yet create a project with a core.clj), even the "Structural Off" editing 
>> mode behaves oddly and doesn't appear to support structure-aware 
>> re-indentation (again, unless I'm missing it). And the indentation that 
>> it 
>> prefers after a newline appears to be 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-28 Thread 'Lee' via Clojure

Thanks! I will add a pointer to chocolatey in my class notes.

FWIW, although the lein installation piece sometimes seem to have been the 
hangup, we've often gone down rabbit holes of messing with different 
versions and/or installers and/or configuration procedures for Java, lein, 
and whatever other tooling we're using on top of these. There are a lot of 
combinations and we get little feedback about which part is broken when it 
doesn't work, compounded by my ignorance of the ways things work in Windows.

For Counterclockwise there was a standalone, preconfigured app download 
that I think also included leiningen, and some of Zach Oakes's tools 
require little or installation or configuration of anything else. FWIW I 
find this to be *immensely* valuable.

Thanks also for pointing out that CLI doesn't yet run on Windows, which 
means it's not a great solution for my teaching situation yet. My students 
will want to use their laptops, and those will vary a lot.

 -Lee

On Tuesday, August 28, 2018 at 6:52:01 AM UTC-4, Nando Breiter wrote:
>
> https://chocolatey.org/ 
> 
>  
> might help Windows users install Leiningen
>
> https://chocolatey.org/packages/lein
>
> The proto-repl readme: https://github.com/jasongilman/proto-repl says 
> that "Proto REPL can still start a REPL outside of a Leiningen project. It 
> still uses Leiningen to start the REPL but uses a default project shipped 
> with Proto REPL. This allows you to easily open up any Clojure file or even 
> just a new Atom window and kick off a new REPL for experimenting."
>
> From the readme dependencies section, it doesn't *seem* to be explicitly 
> dependent on lein, but rather on some means of creating a project and 
> managing dependencies. I'd suggest asking Jason on the #protorepl Slack 
> channel to clear this up for you, see http://clojurians.net/ if you have 
> not yet joined clojurians on Slack. If you think 
> https://clojure.org/guides/deps_and_cli would be easier for some of your 
> students, proto-repl might work just as well with this means of managing 
> project dependencies. Perhaps Jason simply hasn't updated the proto-repl 
> readme yet. That said, it seems CLI tools are not available on Windows yet: 
> https://clojure.org/guides/getting_started#_installation_on_windows
>
>
>
> Aria Media Sagl
> +41 (0)76 303 4477 cell
> skype: ariamedia
>
> On Tue, Aug 28, 2018 at 12:03 AM, 'Lee' via Clojure <
> clo...@googlegroups.com > wrote:
>
>>
>> Ah -- after quitting and restarting Atom the error (which I was getting 
>> from Start REPL), the error is gone, and it appears to work nicely.
>>
>> Thanks again!
>>
>> So Atom + atom-beautify + proto-repl might do much of what I need, with 
>> relatively painless installation and setup.
>>
>> I guess this still requires leiningen, both because proto-repl uses it 
>> and because students will have to use it to make new projects, right? 
>> Installing leiningen has been problematic for some of my students 
>> (especially on Windows), and it'd be great to be able to avoid that (as is 
>> possible with Nightcode, for example, although that won't work for me 
>> because of parinfer). In any event, even I'm using proto-repl, the minimal 
>> setup with Atom would still require leiningen, right?
>>
>>  -Lee
>>
>> On Monday, August 27, 2018 at 5:15:37 PM UTC-4, Nando Breiter wrote:
>>>
>>> Not sure what errors you are seeing. I’ve found proto-repl to be 
>>> reliable. If I recall correctly, the project you are using proto-repl with 
>>> has to be the topmost. I will check this for you.
>>>
>>> Aria Media Sagl
>>>
>>> On 27 Aug 2018, at 22:51, 'Lee' via Clojure  
>>> wrote:
>>>
>>>
>>> Aha -- atom-beautify does seem to work!
>>>
>>> Excellent.
>>>
>>> This will lead me to consider Atom further.
>>>
>>> Would you recommend it for editing only, or also for REPLs etc? I just 
>>> tried proto-repl but this leads to errors and confusion. Still, if it works 
>>> well as just an editor then perhaps I could pair it with a CLI-based REPL 
>>> and the overall setup experience and usability will be okay overall.
>>>
>>> Thanks!
>>>
>>>  -Lee
>>>
>>> On Monday, August 27, 2018 at 4:00:34 PM UTC-4, Nando Breiter wrote:

 Lee, 

 Perhaps https://atom.io/packages/atom-beautify will do what you want. 

 With Parinfer disabled, I can select and shift-tab all code to the left 
 margin, removing all indentation. Then when I run Atom Beautify on the 
 file, all indentation is restored. 



 Aria Media Sagl
 +41 (0)76 303 4477 cell
 skype: ariamedia

 On Mon, Aug 27, 2018 at 9:18 PM, 'Lee' via Clojure <
 clo...@googlegroups.com> wrote:

>
> Ah -- thank you! 
>
> Now I can re-indent in Cursive, although it doesn't do the right thing 
> after defn, etc. What do Cursive users do to get standard indentation?
>
> Playing a bit 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-28 Thread Nando Breiter
https://chocolatey.org/ might help Windows users install Leiningen

https://chocolatey.org/packages/lein

The proto-repl readme: https://github.com/jasongilman/proto-repl says that
"Proto REPL can still start a REPL outside of a Leiningen project. It still
uses Leiningen to start the REPL but uses a default project shipped with
Proto REPL. This allows you to easily open up any Clojure file or even just
a new Atom window and kick off a new REPL for experimenting."

>From the readme dependencies section, it doesn't *seem* to be explicitly
dependent on lein, but rather on some means of creating a project and
managing dependencies. I'd suggest asking Jason on the #protorepl Slack
channel to clear this up for you, see http://clojurians.net/ if you have
not yet joined clojurians on Slack. If you think
https://clojure.org/guides/deps_and_cli would be easier for some of your
students, proto-repl might work just as well with this means of managing
project dependencies. Perhaps Jason simply hasn't updated the proto-repl
readme yet. That said, it seems CLI tools are not available on Windows yet:
https://clojure.org/guides/getting_started#_installation_on_windows



Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia

On Tue, Aug 28, 2018 at 12:03 AM, 'Lee' via Clojure <
clojure@googlegroups.com> wrote:

>
> Ah -- after quitting and restarting Atom the error (which I was getting
> from Start REPL), the error is gone, and it appears to work nicely.
>
> Thanks again!
>
> So Atom + atom-beautify + proto-repl might do much of what I need, with
> relatively painless installation and setup.
>
> I guess this still requires leiningen, both because proto-repl uses it and
> because students will have to use it to make new projects, right?
> Installing leiningen has been problematic for some of my students
> (especially on Windows), and it'd be great to be able to avoid that (as is
> possible with Nightcode, for example, although that won't work for me
> because of parinfer). In any event, even I'm using proto-repl, the minimal
> setup with Atom would still require leiningen, right?
>
>  -Lee
>
> On Monday, August 27, 2018 at 5:15:37 PM UTC-4, Nando Breiter wrote:
>>
>> Not sure what errors you are seeing. I’ve found proto-repl to be
>> reliable. If I recall correctly, the project you are using proto-repl with
>> has to be the topmost. I will check this for you.
>>
>> Aria Media Sagl
>>
>> On 27 Aug 2018, at 22:51, 'Lee' via Clojure 
>> wrote:
>>
>>
>> Aha -- atom-beautify does seem to work!
>>
>> Excellent.
>>
>> This will lead me to consider Atom further.
>>
>> Would you recommend it for editing only, or also for REPLs etc? I just
>> tried proto-repl but this leads to errors and confusion. Still, if it works
>> well as just an editor then perhaps I could pair it with a CLI-based REPL
>> and the overall setup experience and usability will be okay overall.
>>
>> Thanks!
>>
>>  -Lee
>>
>> On Monday, August 27, 2018 at 4:00:34 PM UTC-4, Nando Breiter wrote:
>>>
>>> Lee,
>>>
>>> Perhaps https://atom.io/packages/atom-beautify will do what you want.
>>>
>>> With Parinfer disabled, I can select and shift-tab all code to the left
>>> margin, removing all indentation. Then when I run Atom Beautify on the
>>> file, all indentation is restored.
>>>
>>>
>>>
>>> Aria Media Sagl
>>> +41 (0)76 303 4477 cell
>>> skype: ariamedia
>>>
>>> On Mon, Aug 27, 2018 at 9:18 PM, 'Lee' via Clojure <
>>> clo...@googlegroups.com> wrote:
>>>

 Ah -- thank you!

 Now I can re-indent in Cursive, although it doesn't do the right thing
 after defn, etc. What do Cursive users do to get standard indentation?

 Playing a bit more I see some other with basic editing, even in
 "Structural Off" mode. Like if you type "(defn foo" and hit return, then
 foo changes into some strange autocompleted symbol. Shift-return avoids
 this, but the idea is to let people use their pre-existing typing skills.
 It also won't let you delete to the left of the indentation point (it jumps
 you up to the previous line), etc. I'm not sure how problematic these
 issues would be.



 On Monday, August 27, 2018 at 3:01:37 PM UTC-4, ri...@chartbeat.com
 wrote:
>
> It’s under one of the code or refactor menus, you can auto-format or
> auto-indent.
>
> On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure <
> clo...@googlegroups.com> wrote:
>
>
> Probably true that my requirements are a bigger challenge for
> multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable
> job of it back when that was an active project, but it was a bit rough 
> too,
> since there was a lot of incidental and distracting complexity in dealing
> with Eclipse in general.
>
> I did see the "off" setting for parinfer/paredit in Cursive, but it's
> not really "off" in the sense of behaving like a normal text editor, and I
> don't see re-indentation anywhere. FWIW 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure

Ah -- after quitting and restarting Atom the error (which I was getting 
from Start REPL), the error is gone, and it appears to work nicely.

Thanks again!

So Atom + atom-beautify + proto-repl might do much of what I need, with 
relatively painless installation and setup.

I guess this still requires leiningen, both because proto-repl uses it and 
because students will have to use it to make new projects, right? 
Installing leiningen has been problematic for some of my students 
(especially on Windows), and it'd be great to be able to avoid that (as is 
possible with Nightcode, for example, although that won't work for me 
because of parinfer). In any event, even I'm using proto-repl, the minimal 
setup with Atom would still require leiningen, right?

 -Lee

On Monday, August 27, 2018 at 5:15:37 PM UTC-4, Nando Breiter wrote:
>
> Not sure what errors you are seeing. I’ve found proto-repl to be reliable. 
> If I recall correctly, the project you are using proto-repl with has to be 
> the topmost. I will check this for you.
>
> Aria Media Sagl
>
> On 27 Aug 2018, at 22:51, 'Lee' via Clojure  > wrote:
>
>
> Aha -- atom-beautify does seem to work!
>
> Excellent.
>
> This will lead me to consider Atom further.
>
> Would you recommend it for editing only, or also for REPLs etc? I just 
> tried proto-repl but this leads to errors and confusion. Still, if it works 
> well as just an editor then perhaps I could pair it with a CLI-based REPL 
> and the overall setup experience and usability will be okay overall.
>
> Thanks!
>
>  -Lee
>
> On Monday, August 27, 2018 at 4:00:34 PM UTC-4, Nando Breiter wrote:
>>
>> Lee, 
>>
>> Perhaps https://atom.io/packages/atom-beautify will do what you want. 
>>
>> With Parinfer disabled, I can select and shift-tab all code to the left 
>> margin, removing all indentation. Then when I run Atom Beautify on the 
>> file, all indentation is restored. 
>>
>>
>>
>> Aria Media Sagl
>> +41 (0)76 303 4477 cell
>> skype: ariamedia
>>
>> On Mon, Aug 27, 2018 at 9:18 PM, 'Lee' via Clojure <
>> clo...@googlegroups.com> wrote:
>>
>>>
>>> Ah -- thank you! 
>>>
>>> Now I can re-indent in Cursive, although it doesn't do the right thing 
>>> after defn, etc. What do Cursive users do to get standard indentation?
>>>
>>> Playing a bit more I see some other with basic editing, even in 
>>> "Structural Off" mode. Like if you type "(defn foo" and hit return, then 
>>> foo changes into some strange autocompleted symbol. Shift-return avoids 
>>> this, but the idea is to let people use their pre-existing typing skills. 
>>> It also won't let you delete to the left of the indentation point (it jumps 
>>> you up to the previous line), etc. I'm not sure how problematic these 
>>> issues would be.
>>>
>>>
>>>
>>> On Monday, August 27, 2018 at 3:01:37 PM UTC-4, ri...@chartbeat.com 
>>> wrote:

 It’s under one of the code or refactor menus, you can auto-format or 
 auto-indent.

 On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure <
 clo...@googlegroups.com> wrote:


 Probably true that my requirements are a bigger challenge for 
 multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable 
 job of it back when that was an active project, but it was a bit rough 
 too, 
 since there was a lot of incidental and distracting complexity in dealing 
 with Eclipse in general.

 I did see the "off" setting for parinfer/paredit in Cursive, but it's 
 not really "off" in the sense of behaving like a normal text editor, and I 
 don't see re-indentation anywhere. FWIW since this is for teaching I'm not 
 really interested in customization, just reasonable behavior out of the 
 box.


 On Monday, August 27, 2018 at 11:21:47 AM UTC-4, Rick Mangi wrote:
>
> Yeah, I actually just create projects with lein. If you right click on 
> a project.clj you can just fire up a repl via lein and it works really 
> well. There's 3 choices for parenthesis, there's again a little button on 
> the bottom right to switch between parinfer/paredit and off. You can 
> customize all of the code reformatting and you can even alias things like 
> defnp and other macros to evaluate correctly. 
>
> That said, a tool that supports dozens of languages isn't going to do 
> any of them particularly easily :)
>
>
>
> On Mon, Aug 27, 2018 at 11:18 AM 'Lee' via Clojure <
> clo...@googlegroups.com> wrote:
>
>> Thanks Rick. 
>>
>> Just tried Cursive again but it still seems to fail pretty badly on 
>> newbie setup and usability, which is what has hung me up in the past. 
>>
>> tldr: A half hour or so after a fresh install and going through the 
>> Getting Started instructions I still don't have a REPL (confused about 
>> Run 
>> Configurations and what I'm seeing doesn't match the website pics), and 
>> although I can edit code in an existing project with 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Nando Breiter
Not sure what errors you are seeing. I’ve found proto-repl to be reliable.
If I recall correctly, the project you are using proto-repl with has to be
the topmost. I will check this for you.

Aria Media Sagl

On 27 Aug 2018, at 22:51, 'Lee' via Clojure 
wrote:


Aha -- atom-beautify does seem to work!

Excellent.

This will lead me to consider Atom further.

Would you recommend it for editing only, or also for REPLs etc? I just
tried proto-repl but this leads to errors and confusion. Still, if it works
well as just an editor then perhaps I could pair it with a CLI-based REPL
and the overall setup experience and usability will be okay overall.

Thanks!

 -Lee

On Monday, August 27, 2018 at 4:00:34 PM UTC-4, Nando Breiter wrote:
>
> Lee,
>
> Perhaps https://atom.io/packages/atom-beautify will do what you want.
>
> With Parinfer disabled, I can select and shift-tab all code to the left
> margin, removing all indentation. Then when I run Atom Beautify on the
> file, all indentation is restored.
>
>
>
> Aria Media Sagl
> +41 (0)76 303 4477 cell
> skype: ariamedia
>
> On Mon, Aug 27, 2018 at 9:18 PM, 'Lee' via Clojure <
> clo...@googlegroups.com> wrote:
>
>>
>> Ah -- thank you!
>>
>> Now I can re-indent in Cursive, although it doesn't do the right thing
>> after defn, etc. What do Cursive users do to get standard indentation?
>>
>> Playing a bit more I see some other with basic editing, even in
>> "Structural Off" mode. Like if you type "(defn foo" and hit return, then
>> foo changes into some strange autocompleted symbol. Shift-return avoids
>> this, but the idea is to let people use their pre-existing typing skills.
>> It also won't let you delete to the left of the indentation point (it jumps
>> you up to the previous line), etc. I'm not sure how problematic these
>> issues would be.
>>
>>
>>
>> On Monday, August 27, 2018 at 3:01:37 PM UTC-4, ri...@chartbeat.com
>> wrote:
>>>
>>> It’s under one of the code or refactor menus, you can auto-format or
>>> auto-indent.
>>>
>>> On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure 
>>> wrote:
>>>
>>>
>>> Probably true that my requirements are a bigger challenge for
>>> multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable
>>> job of it back when that was an active project, but it was a bit rough too,
>>> since there was a lot of incidental and distracting complexity in dealing
>>> with Eclipse in general.
>>>
>>> I did see the "off" setting for parinfer/paredit in Cursive, but it's
>>> not really "off" in the sense of behaving like a normal text editor, and I
>>> don't see re-indentation anywhere. FWIW since this is for teaching I'm not
>>> really interested in customization, just reasonable behavior out of the box.
>>>
>>>
>>> On Monday, August 27, 2018 at 11:21:47 AM UTC-4, Rick Mangi wrote:

 Yeah, I actually just create projects with lein. If you right click on
 a project.clj you can just fire up a repl via lein and it works really
 well. There's 3 choices for parenthesis, there's again a little button on
 the bottom right to switch between parinfer/paredit and off. You can
 customize all of the code reformatting and you can even alias things like
 defnp and other macros to evaluate correctly.

 That said, a tool that supports dozens of languages isn't going to do
 any of them particularly easily :)



 On Mon, Aug 27, 2018 at 11:18 AM 'Lee' via Clojure <
 clo...@googlegroups.com> wrote:

> Thanks Rick.
>
> Just tried Cursive again but it still seems to fail pretty badly on
> newbie setup and usability, which is what has hung me up in the past.
>
> tldr: A half hour or so after a fresh install and going through the
> Getting Started instructions I still don't have a REPL (confused about Run
> Configurations and what I'm seeing doesn't match the website pics), and
> although I can edit code in an existing project with drag and drop (can't
> yet create a project with a core.clj), even the "Structural Off" editing
> mode behaves oddly and doesn't appear to support structure-aware
> re-indentation (again, unless I'm missing it). And the indentation that it
> prefers after a newline appears to be non-standard (e.g. after "(defn 
> foo").
>
> I follow the Cursive mailing list and I know that a lot of people find
> it to be a wonderful tool, but I don't think it meets my requirements.
>
>  -Lee
>
>
> On Monday, August 27, 2018 at 10:43:36 AM UTC-4, Rick Mangi wrote:
>>
>> I find intellij + cursive to be pretty darn easy to use, and the repl
>> has an option to turn off parinfer. That said, I'm not a beginner. The 
>> only
>> drawback that I can think of other than price is that the clojure
>> functionality is mostly put under a single menu and it's sometimes 
>> awkward
>> to navigate to subcommands.
>>
>>
>>
>> On Mon, Aug 27, 2018 at 9:48 AM Alex Miller 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure

Alas, current Nightcode forces use of parinfer, unless something has 
changed very recently.

Previous versions of Nightcode met all of my requirements and I used them 
for teaching, and liked it quite a lot.

But parinfer is a problem. One of my requirements is that the editor acts 
mostly like a normal text editor, aside from bracket matching and 
user-triggered re-indentation. Auto-insertion of closing brackets is okay 
too, if they can be erased. My students know how to type and to cut and 
paste text, and I want them to be able to rely on those skills working as 
they expect them to work as they learn to program. I've seen parinfer 
confuse and frustrate some of my students, and it also happens to clash 
badly with my own ways of editing code.

 -Lee


On Monday, August 27, 2018 at 4:36:33 PM UTC-4, Erik Assum wrote:
>
> Have you had a look at Nightcode?
> https://sekao.net/nightcode/
>
> Erik. 
> -- 
> i farta
>
> 27. aug. 2018 kl. 22:00 skrev Nando Breiter  >:
>
> Lee,
>
> Perhaps https://atom.io/packages/atom-beautify will do what you want. 
>
> With Parinfer disabled, I can select and shift-tab all code to the left 
> margin, removing all indentation. Then when I run Atom Beautify on the 
> file, all indentation is restored. 
>
>
>
> Aria Media Sagl
> +41 (0)76 303 4477 cell
> skype: ariamedia
>
> On Mon, Aug 27, 2018 at 9:18 PM, 'Lee' via Clojure <
> clo...@googlegroups.com > wrote:
>
>>
>> Ah -- thank you! 
>>
>> Now I can re-indent in Cursive, although it doesn't do the right thing 
>> after defn, etc. What do Cursive users do to get standard indentation?
>>
>> Playing a bit more I see some other with basic editing, even in 
>> "Structural Off" mode. Like if you type "(defn foo" and hit return, then 
>> foo changes into some strange autocompleted symbol. Shift-return avoids 
>> this, but the idea is to let people use their pre-existing typing skills. 
>> It also won't let you delete to the left of the indentation point (it jumps 
>> you up to the previous line), etc. I'm not sure how problematic these 
>> issues would be.
>>
>>
>>
>> On Monday, August 27, 2018 at 3:01:37 PM UTC-4, ri...@chartbeat.com 
>> wrote:
>>>
>>> It’s under one of the code or refactor menus, you can auto-format or 
>>> auto-indent.
>>>
>>> On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure  
>>> wrote:
>>>
>>>
>>> Probably true that my requirements are a bigger challenge for 
>>> multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable 
>>> job of it back when that was an active project, but it was a bit rough too, 
>>> since there was a lot of incidental and distracting complexity in dealing 
>>> with Eclipse in general.
>>>
>>> I did see the "off" setting for parinfer/paredit in Cursive, but it's 
>>> not really "off" in the sense of behaving like a normal text editor, and I 
>>> don't see re-indentation anywhere. FWIW since this is for teaching I'm not 
>>> really interested in customization, just reasonable behavior out of the box.
>>>
>>>
>>> On Monday, August 27, 2018 at 11:21:47 AM UTC-4, Rick Mangi wrote:

 Yeah, I actually just create projects with lein. If you right click on 
 a project.clj you can just fire up a repl via lein and it works really 
 well. There's 3 choices for parenthesis, there's again a little button on 
 the bottom right to switch between parinfer/paredit and off. You can 
 customize all of the code reformatting and you can even alias things like 
 defnp and other macros to evaluate correctly. 

 That said, a tool that supports dozens of languages isn't going to do 
 any of them particularly easily :)



 On Mon, Aug 27, 2018 at 11:18 AM 'Lee' via Clojure <
 clo...@googlegroups.com> wrote:

> Thanks Rick. 
>
> Just tried Cursive again but it still seems to fail pretty badly on 
> newbie setup and usability, which is what has hung me up in the past. 
>
> tldr: A half hour or so after a fresh install and going through the 
> Getting Started instructions I still don't have a REPL (confused about 
> Run 
> Configurations and what I'm seeing doesn't match the website pics), and 
> although I can edit code in an existing project with drag and drop (can't 
> yet create a project with a core.clj), even the "Structural Off" editing 
> mode behaves oddly and doesn't appear to support structure-aware 
> re-indentation (again, unless I'm missing it). And the indentation that 
> it 
> prefers after a newline appears to be non-standard (e.g. after "(defn 
> foo").
>
> I follow the Cursive mailing list and I know that a lot of people find 
> it to be a wonderful tool, but I don't think it meets my requirements.
>
>  -Lee
>
>
> On Monday, August 27, 2018 at 10:43:36 AM UTC-4, Rick Mangi wrote:
>>
>> I find intellij + cursive to be pretty darn easy to use, and the repl 
>> has an option to turn off parinfer. That said, I'm not 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure

Aha -- atom-beautify does seem to work!

Excellent.

This will lead me to consider Atom further.

Would you recommend it for editing only, or also for REPLs etc? I just 
tried proto-repl but this leads to errors and confusion. Still, if it works 
well as just an editor then perhaps I could pair it with a CLI-based REPL 
and the overall setup experience and usability will be okay overall.

Thanks!

 -Lee

On Monday, August 27, 2018 at 4:00:34 PM UTC-4, Nando Breiter wrote:
>
> Lee, 
>
> Perhaps https://atom.io/packages/atom-beautify will do what you want. 
>
> With Parinfer disabled, I can select and shift-tab all code to the left 
> margin, removing all indentation. Then when I run Atom Beautify on the 
> file, all indentation is restored. 
>
>
>
> Aria Media Sagl
> +41 (0)76 303 4477 cell
> skype: ariamedia
>
> On Mon, Aug 27, 2018 at 9:18 PM, 'Lee' via Clojure <
> clo...@googlegroups.com > wrote:
>
>>
>> Ah -- thank you! 
>>
>> Now I can re-indent in Cursive, although it doesn't do the right thing 
>> after defn, etc. What do Cursive users do to get standard indentation?
>>
>> Playing a bit more I see some other with basic editing, even in 
>> "Structural Off" mode. Like if you type "(defn foo" and hit return, then 
>> foo changes into some strange autocompleted symbol. Shift-return avoids 
>> this, but the idea is to let people use their pre-existing typing skills. 
>> It also won't let you delete to the left of the indentation point (it jumps 
>> you up to the previous line), etc. I'm not sure how problematic these 
>> issues would be.
>>
>>
>>
>> On Monday, August 27, 2018 at 3:01:37 PM UTC-4, ri...@chartbeat.com 
>> wrote:
>>>
>>> It’s under one of the code or refactor menus, you can auto-format or 
>>> auto-indent.
>>>
>>> On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure  
>>> wrote:
>>>
>>>
>>> Probably true that my requirements are a bigger challenge for 
>>> multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable 
>>> job of it back when that was an active project, but it was a bit rough too, 
>>> since there was a lot of incidental and distracting complexity in dealing 
>>> with Eclipse in general.
>>>
>>> I did see the "off" setting for parinfer/paredit in Cursive, but it's 
>>> not really "off" in the sense of behaving like a normal text editor, and I 
>>> don't see re-indentation anywhere. FWIW since this is for teaching I'm not 
>>> really interested in customization, just reasonable behavior out of the box.
>>>
>>>
>>> On Monday, August 27, 2018 at 11:21:47 AM UTC-4, Rick Mangi wrote:

 Yeah, I actually just create projects with lein. If you right click on 
 a project.clj you can just fire up a repl via lein and it works really 
 well. There's 3 choices for parenthesis, there's again a little button on 
 the bottom right to switch between parinfer/paredit and off. You can 
 customize all of the code reformatting and you can even alias things like 
 defnp and other macros to evaluate correctly. 

 That said, a tool that supports dozens of languages isn't going to do 
 any of them particularly easily :)



 On Mon, Aug 27, 2018 at 11:18 AM 'Lee' via Clojure <
 clo...@googlegroups.com> wrote:

> Thanks Rick. 
>
> Just tried Cursive again but it still seems to fail pretty badly on 
> newbie setup and usability, which is what has hung me up in the past. 
>
> tldr: A half hour or so after a fresh install and going through the 
> Getting Started instructions I still don't have a REPL (confused about 
> Run 
> Configurations and what I'm seeing doesn't match the website pics), and 
> although I can edit code in an existing project with drag and drop (can't 
> yet create a project with a core.clj), even the "Structural Off" editing 
> mode behaves oddly and doesn't appear to support structure-aware 
> re-indentation (again, unless I'm missing it). And the indentation that 
> it 
> prefers after a newline appears to be non-standard (e.g. after "(defn 
> foo").
>
> I follow the Cursive mailing list and I know that a lot of people find 
> it to be a wonderful tool, but I don't think it meets my requirements.
>
>  -Lee
>
>
> On Monday, August 27, 2018 at 10:43:36 AM UTC-4, Rick Mangi wrote:
>>
>> I find intellij + cursive to be pretty darn easy to use, and the repl 
>> has an option to turn off parinfer. That said, I'm not a beginner. The 
>> only 
>> drawback that I can think of other than price is that the clojure 
>> functionality is mostly put under a single menu and it's sometimes 
>> awkward 
>> to navigate to subcommands.
>>
>>
>>
>> On Mon, Aug 27, 2018 at 9:48 AM Alex Miller  
>> wrote:
>>
>>> I think Atom and VSCode are probably the two additional ones you 
>>> might want to look into?
>>>
>>> On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Erik Assum
Have you had a look at Nightcode?
https://sekao.net/nightcode/

Erik. 
-- 
i farta

> 27. aug. 2018 kl. 22:00 skrev Nando Breiter :
> 
> Lee,
> 
> Perhaps https://atom.io/packages/atom-beautify will do what you want. 
> 
> With Parinfer disabled, I can select and shift-tab all code to the left 
> margin, removing all indentation. Then when I run Atom Beautify on the file, 
> all indentation is restored. 
> 
> 
> 
> Aria Media Sagl
> +41 (0)76 303 4477 cell
> skype: ariamedia
> 
>> On Mon, Aug 27, 2018 at 9:18 PM, 'Lee' via Clojure 
>>  wrote:
>> 
>> Ah -- thank you! 
>> 
>> Now I can re-indent in Cursive, although it doesn't do the right thing after 
>> defn, etc. What do Cursive users do to get standard indentation?
>> 
>> Playing a bit more I see some other with basic editing, even in "Structural 
>> Off" mode. Like if you type "(defn foo" and hit return, then foo changes 
>> into some strange autocompleted symbol. Shift-return avoids this, but the 
>> idea is to let people use their pre-existing typing skills. It also won't 
>> let you delete to the left of the indentation point (it jumps you up to the 
>> previous line), etc. I'm not sure how problematic these issues would be.
>> 
>> 
>> 
>>> On Monday, August 27, 2018 at 3:01:37 PM UTC-4, ri...@chartbeat.com wrote:
>>> It’s under one of the code or refactor menus, you can auto-format or 
>>> auto-indent.
>>> 
 On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure  
 wrote:
 
 
 Probably true that my requirements are a bigger challenge for 
 multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable 
 job of it back when that was an active project, but it was a bit rough 
 too, since there was a lot of incidental and distracting complexity in 
 dealing with Eclipse in general.
 
 I did see the "off" setting for parinfer/paredit in Cursive, but it's not 
 really "off" in the sense of behaving like a normal text editor, and I 
 don't see re-indentation anywhere. FWIW since this is for teaching I'm not 
 really interested in customization, just reasonable behavior out of the 
 box.
 
 
> On Monday, August 27, 2018 at 11:21:47 AM UTC-4, Rick Mangi wrote:
> Yeah, I actually just create projects with lein. If you right click on a 
> project.clj you can just fire up a repl via lein and it works really 
> well. There's 3 choices for parenthesis, there's again a little button on 
> the bottom right to switch between parinfer/paredit and off. You can 
> customize all of the code reformatting and you can even alias things like 
> defnp and other macros to evaluate correctly. 
> 
> That said, a tool that supports dozens of languages isn't going to do any 
> of them particularly easily :)
> 
> 
> 
>> On Mon, Aug 27, 2018 at 11:18 AM 'Lee' via Clojure 
>>  wrote:
>> Thanks Rick. 
>> 
>> Just tried Cursive again but it still seems to fail pretty badly on 
>> newbie setup and usability, which is what has hung me up in the past. 
>> 
>> tldr: A half hour or so after a fresh install and going through the 
>> Getting Started instructions I still don't have a REPL (confused about 
>> Run Configurations and what I'm seeing doesn't match the website pics), 
>> and although I can edit code in an existing project with drag and drop 
>> (can't yet create a project with a core.clj), even the "Structural Off" 
>> editing mode behaves oddly and doesn't appear to support structure-aware 
>> re-indentation (again, unless I'm missing it). And the indentation that 
>> it prefers after a newline appears to be non-standard (e.g. after "(defn 
>> foo").
>> 
>> I follow the Cursive mailing list and I know that a lot of people find 
>> it to be a wonderful tool, but I don't think it meets my requirements.
>> 
>>  -Lee
>> 
>> 
>>> On Monday, August 27, 2018 at 10:43:36 AM UTC-4, Rick Mangi wrote:
>>> I find intellij + cursive to be pretty darn easy to use, and the repl 
>>> has an option to turn off parinfer. That said, I'm not a beginner. The 
>>> only drawback that I can think of other than price is that the clojure 
>>> functionality is mostly put under a single menu and it's sometimes 
>>> awkward to navigate to subcommands.
>>> 
>>> 
>>> 
 On Mon, Aug 27, 2018 at 9:48 AM Alex Miller  
 wrote:
 I think Atom and VSCode are probably the two additional ones you might 
 want to look into?
 
> On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote:
> This is my roughly-annual check-in to see if there are new good 
> editing/execution options for me to use in my Clojure teaching and 
> coding.
> 
> My requirements are:
> 
> - Simple installation/setup, even for new programmers, on 
> Mac/Win/Linux
> 
> - Usable 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Nando Breiter
Lee,

Perhaps https://atom.io/packages/atom-beautify will do what you want.

With Parinfer disabled, I can select and shift-tab all code to the left
margin, removing all indentation. Then when I run Atom Beautify on the
file, all indentation is restored.



Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia

On Mon, Aug 27, 2018 at 9:18 PM, 'Lee' via Clojure  wrote:

>
> Ah -- thank you!
>
> Now I can re-indent in Cursive, although it doesn't do the right thing
> after defn, etc. What do Cursive users do to get standard indentation?
>
> Playing a bit more I see some other with basic editing, even in
> "Structural Off" mode. Like if you type "(defn foo" and hit return, then
> foo changes into some strange autocompleted symbol. Shift-return avoids
> this, but the idea is to let people use their pre-existing typing skills.
> It also won't let you delete to the left of the indentation point (it jumps
> you up to the previous line), etc. I'm not sure how problematic these
> issues would be.
>
>
>
> On Monday, August 27, 2018 at 3:01:37 PM UTC-4, ri...@chartbeat.com wrote:
>>
>> It’s under one of the code or refactor menus, you can auto-format or
>> auto-indent.
>>
>> On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure 
>> wrote:
>>
>>
>> Probably true that my requirements are a bigger challenge for
>> multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable
>> job of it back when that was an active project, but it was a bit rough too,
>> since there was a lot of incidental and distracting complexity in dealing
>> with Eclipse in general.
>>
>> I did see the "off" setting for parinfer/paredit in Cursive, but it's not
>> really "off" in the sense of behaving like a normal text editor, and I
>> don't see re-indentation anywhere. FWIW since this is for teaching I'm not
>> really interested in customization, just reasonable behavior out of the box.
>>
>>
>> On Monday, August 27, 2018 at 11:21:47 AM UTC-4, Rick Mangi wrote:
>>>
>>> Yeah, I actually just create projects with lein. If you right click on a
>>> project.clj you can just fire up a repl via lein and it works really well.
>>> There's 3 choices for parenthesis, there's again a little button on the
>>> bottom right to switch between parinfer/paredit and off. You can customize
>>> all of the code reformatting and you can even alias things like defnp and
>>> other macros to evaluate correctly.
>>>
>>> That said, a tool that supports dozens of languages isn't going to do
>>> any of them particularly easily :)
>>>
>>>
>>>
>>> On Mon, Aug 27, 2018 at 11:18 AM 'Lee' via Clojure <
>>> clo...@googlegroups.com> wrote:
>>>
 Thanks Rick.

 Just tried Cursive again but it still seems to fail pretty badly on
 newbie setup and usability, which is what has hung me up in the past.

 tldr: A half hour or so after a fresh install and going through the
 Getting Started instructions I still don't have a REPL (confused about Run
 Configurations and what I'm seeing doesn't match the website pics), and
 although I can edit code in an existing project with drag and drop (can't
 yet create a project with a core.clj), even the "Structural Off" editing
 mode behaves oddly and doesn't appear to support structure-aware
 re-indentation (again, unless I'm missing it). And the indentation that it
 prefers after a newline appears to be non-standard (e.g. after "(defn 
 foo").

 I follow the Cursive mailing list and I know that a lot of people find
 it to be a wonderful tool, but I don't think it meets my requirements.

  -Lee


 On Monday, August 27, 2018 at 10:43:36 AM UTC-4, Rick Mangi wrote:
>
> I find intellij + cursive to be pretty darn easy to use, and the repl
> has an option to turn off parinfer. That said, I'm not a beginner. The 
> only
> drawback that I can think of other than price is that the clojure
> functionality is mostly put under a single menu and it's sometimes awkward
> to navigate to subcommands.
>
>
>
> On Mon, Aug 27, 2018 at 9:48 AM Alex Miller 
> wrote:
>
>> I think Atom and VSCode are probably the two additional ones you
>> might want to look into?
>>
>> On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote:
>>>
>>> This is my roughly-annual check-in to see if there are new good
>>> editing/execution options for me to use in my Clojure teaching and 
>>> coding.
>>>
>>> My requirements are:
>>>
>>> - Simple installation/setup, even for new programmers, on
>>> Mac/Win/Linux
>>>
>>> - Usable by new programmers without significant training or learning
>>> curve
>>>
>>> - Syntax-aware re-indentation
>>>
>>> - Visual indication of matching brackets (e.g. matching bracket
>>> highlighted, or rainbow brackets, etc.)
>>>
>>> - No required use of paredit or parinfer
>>>
>>> Bells and whistles that would help but 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread rick
It’s under one of the code or refactor menus, you can auto-format or 
auto-indent.

> On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure  
> wrote:
> 
> 
> Probably true that my requirements are a bigger challenge for multi-language 
> IDEs. I thought Eclipse/Counterclockwise did a reasonable job of it back when 
> that was an active project, but it was a bit rough too, since there was a lot 
> of incidental and distracting complexity in dealing with Eclipse in general.
> 
> I did see the "off" setting for parinfer/paredit in Cursive, but it's not 
> really "off" in the sense of behaving like a normal text editor, and I don't 
> see re-indentation anywhere. FWIW since this is for teaching I'm not really 
> interested in customization, just reasonable behavior out of the box.
> 
> 
>> On Monday, August 27, 2018 at 11:21:47 AM UTC-4, Rick Mangi wrote:
>> Yeah, I actually just create projects with lein. If you right click on a 
>> project.clj you can just fire up a repl via lein and it works really well. 
>> There's 3 choices for parenthesis, there's again a little button on the 
>> bottom right to switch between parinfer/paredit and off. You can customize 
>> all of the code reformatting and you can even alias things like defnp and 
>> other macros to evaluate correctly. 
>> 
>> That said, a tool that supports dozens of languages isn't going to do any of 
>> them particularly easily :)
>> 
>> 
>> 
>>> On Mon, Aug 27, 2018 at 11:18 AM 'Lee' via Clojure 
>>>  wrote:
>>> Thanks Rick. 
>>> 
>>> Just tried Cursive again but it still seems to fail pretty badly on newbie 
>>> setup and usability, which is what has hung me up in the past. 
>>> 
>>> tldr: A half hour or so after a fresh install and going through the Getting 
>>> Started instructions I still don't have a REPL (confused about Run 
>>> Configurations and what I'm seeing doesn't match the website pics), and 
>>> although I can edit code in an existing project with drag and drop (can't 
>>> yet create a project with a core.clj), even the "Structural Off" editing 
>>> mode behaves oddly and doesn't appear to support structure-aware 
>>> re-indentation (again, unless I'm missing it). And the indentation that it 
>>> prefers after a newline appears to be non-standard (e.g. after "(defn foo").
>>> 
>>> I follow the Cursive mailing list and I know that a lot of people find it 
>>> to be a wonderful tool, but I don't think it meets my requirements.
>>> 
>>>  -Lee
>>> 
>>> 
 On Monday, August 27, 2018 at 10:43:36 AM UTC-4, Rick Mangi wrote:
 I find intellij + cursive to be pretty darn easy to use, and the repl has 
 an option to turn off parinfer. That said, I'm not a beginner. The only 
 drawback that I can think of other than price is that the clojure 
 functionality is mostly put under a single menu and it's sometimes awkward 
 to navigate to subcommands.
 
 
 
> On Mon, Aug 27, 2018 at 9:48 AM Alex Miller  wrote:
> I think Atom and VSCode are probably the two additional ones you might 
> want to look into?
> 
>> On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote:
>> This is my roughly-annual check-in to see if there are new good 
>> editing/execution options for me to use in my Clojure teaching and 
>> coding.
>> 
>> My requirements are:
>> 
>> - Simple installation/setup, even for new programmers, on Mac/Win/Linux
>> 
>> - Usable by new programmers without significant training or learning 
>> curve
>> 
>> - Syntax-aware re-indentation
>> 
>> - Visual indication of matching brackets (e.g. matching bracket 
>> highlighted, or rainbow brackets, etc.)
>> 
>> - No required use of paredit or parinfer
>> 
>> Bells and whistles that would help but aren't as critical as the 
>> requirements listed above:
>> 
>> - Access to argument lists, documentation, and symbol completion while 
>> typing
>> 
>> - Integrated REPL, although a command-line REPL paired with an editor 
>> that met the requirements above would work
>> 
>> I would be interested in solutions that work for Clojure and 
>> Clojurescript, or just Clojure, or just Clojurescript.
>> 
>> Recent developments of which I'm aware but fall short of my requirements:
>> 
>> - Nightcode and Lightmod, which would be fabulous if not for the 
>> required use of parinfer
>> 
>> - Jupyter-based approaches, which also seem great except I see none with 
>> syntax-aware re-indentation for Clojure
>> 
>> FYI what I'm currently using is a combination of Gorilla REPL and 
>> leiningen at the command line. This is quite nice although 
>> installation/setup is not as easy or foolproof as I would like (I've had 
>> students who tried and failed to get it working on their Windows laptops 
>> for an entire semester, messing with Java versions etc.), Gorilla REPL 
>> is not very actively maintained, 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure

Thanks Didier -- I have checked that out and it's cool! 

But what I'm looking for has to be able to handle ordinary projects, with 
files and dependencies, etc.

 -Lee

On Monday, August 27, 2018 at 2:44:36 PM UTC-4, Didier wrote:
>
> Have you tried maria.cloud? Its only ClojureScript, but in the Jupiter 
> style seems to meet your needs.
>
> Though you can't add dependencies to it as far as I know.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
Interesting. 

I've now installed clojure-indent and it looks like it improves indentation 
when you type a newline, but doesn't provide a way to re-indent the current 
line or selection, which is the key feature. Maybe it's there but I don't 
see it?

I guess one could delete and then re-enter each newline and it'll end up 
re-indented, but that's not usable.

Thanks,

 -Lee


On Monday, August 27, 2018 at 2:27:10 PM UTC-4, Nando Breiter wrote:
>
> I haven't tried it, but 
>
> https://atom.io/packages/clojure-indent 
> 
>   
> ?
>
>
>
> Aria Media Sagl
> +41 (0)76 303 4477 cell
> skype: ariamedia
>
> On Mon, Aug 27, 2018 at 5:30 PM, 'Lee' via Clojure <
> clo...@googlegroups.com > wrote:
>
>>
>> Probably true that my requirements are a bigger challenge for 
>> multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable 
>> job of it back when that was an active project, but it was a bit rough too, 
>> since there was a lot of incidental and distracting complexity in dealing 
>> with Eclipse in general.
>>
>> I did see the "off" setting for parinfer/paredit in Cursive, but it's not 
>> really "off" in the sense of behaving like a normal text editor, and I 
>> don't see re-indentation anywhere. FWIW since this is for teaching I'm not 
>> really interested in customization, just reasonable behavior out of the box.
>>
>>
>> On Monday, August 27, 2018 at 11:21:47 AM UTC-4, Rick Mangi wrote:
>>>
>>> Yeah, I actually just create projects with lein. If you right click on a 
>>> project.clj you can just fire up a repl via lein and it works really well. 
>>> There's 3 choices for parenthesis, there's again a little button on the 
>>> bottom right to switch between parinfer/paredit and off. You can customize 
>>> all of the code reformatting and you can even alias things like defnp and 
>>> other macros to evaluate correctly. 
>>>
>>> That said, a tool that supports dozens of languages isn't going to do 
>>> any of them particularly easily :)
>>>
>>>
>>>
>>> On Mon, Aug 27, 2018 at 11:18 AM 'Lee' via Clojure <
>>> clo...@googlegroups.com> wrote:
>>>
 Thanks Rick. 

 Just tried Cursive again but it still seems to fail pretty badly on 
 newbie setup and usability, which is what has hung me up in the past. 

 tldr: A half hour or so after a fresh install and going through the 
 Getting Started instructions I still don't have a REPL (confused about Run 
 Configurations and what I'm seeing doesn't match the website pics), and 
 although I can edit code in an existing project with drag and drop (can't 
 yet create a project with a core.clj), even the "Structural Off" editing 
 mode behaves oddly and doesn't appear to support structure-aware 
 re-indentation (again, unless I'm missing it). And the indentation that it 
 prefers after a newline appears to be non-standard (e.g. after "(defn 
 foo").

 I follow the Cursive mailing list and I know that a lot of people find 
 it to be a wonderful tool, but I don't think it meets my requirements.

  -Lee


 On Monday, August 27, 2018 at 10:43:36 AM UTC-4, Rick Mangi wrote:
>
> I find intellij + cursive to be pretty darn easy to use, and the repl 
> has an option to turn off parinfer. That said, I'm not a beginner. The 
> only 
> drawback that I can think of other than price is that the clojure 
> functionality is mostly put under a single menu and it's sometimes 
> awkward 
> to navigate to subcommands.
>
>
>
> On Mon, Aug 27, 2018 at 9:48 AM Alex Miller  
> wrote:
>
>> I think Atom and VSCode are probably the two additional ones you 
>> might want to look into?
>>
>> On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote:
>>>
>>> This is my roughly-annual check-in to see if there are new good 
>>> editing/execution options for me to use in my Clojure teaching and 
>>> coding.
>>>
>>> My requirements are:
>>>
>>> - Simple installation/setup, even for new programmers, on 
>>> Mac/Win/Linux
>>>
>>> - Usable by new programmers without significant training or learning 
>>> curve
>>>
>>> - Syntax-aware re-indentation
>>>
>>> - Visual indication of matching brackets (e.g. matching bracket 
>>> highlighted, or rainbow brackets, etc.)
>>>
>>> - No required use of paredit or parinfer
>>>
>>> Bells and whistles that would help but aren't as critical as the 
>>> requirements listed above:
>>>
>>> - Access to argument lists, documentation, and symbol completion 
>>> while typing
>>>
>>> - Integrated REPL, although a command-line REPL paired with an 
>>> editor that met the requirements above would work
>>>
>>> I would be interested in solutions that work for Clojure and 
>>> 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Didier
Have you tried maria.cloud? Its only ClojureScript, but in the Jupiter style 
seems to meet your needs.

Though you can't add dependencies to it as far as I know.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure

Maybe a good new approach would be to combine working with CLI and some 
minimal or existing editor that just supports bracket-matching and 
re-indentation?

I'm led to this from listening to David Nolen's "Embracing Simpler Tools" 
(https://www.youtube.com/watch?v=F0Lv53lop2g), although I'm taking a leap 
because the video doesn't show David's slides or screen, so I'm guessing 
about a lot of what he was showing. 

The workflow could be similar to what I use and teach with now (leinengen 
command line + Gorilla REPL) but each piece might be simpler to set up and 
use. 

I guess this rules out bells and whistles like arg/doc display and 
auto-completion. But if the rest of the story is really good then it'd be 
worth it.

Does this make sense to people who know more about CLI?

And does anyone have suggestions for editors that would work well for this? 
It could be something minimal, maybe running in a browser window (like 
gorilla REPL and other systems do, but simpler to set up). Or maybe 
something like TextMate but with Clojure re-indentation, which it doesn't 
look like it currently has?

Thanks,

 -Lee



On Monday, August 27, 2018 at 9:45:34 AM UTC-4, Lee wrote:
>
> This is my roughly-annual check-in to see if there are new good 
> editing/execution options for me to use in my Clojure teaching and coding.
>
> My requirements are:
>
> - Simple installation/setup, even for new programmers, on Mac/Win/Linux
>
> - Usable by new programmers without significant training or learning curve
>
> - Syntax-aware re-indentation
>
> - Visual indication of matching brackets (e.g. matching bracket 
> highlighted, or rainbow brackets, etc.)
>
> - No required use of paredit or parinfer
>
> Bells and whistles that would help but aren't as critical as the 
> requirements listed above:
>
> - Access to argument lists, documentation, and symbol completion while 
> typing
>
> - Integrated REPL, although a command-line REPL paired with an editor that 
> met the requirements above would work
>
> I would be interested in solutions that work for Clojure and 
> Clojurescript, or just Clojure, or just Clojurescript.
>
> Recent developments of which I'm aware but fall short of my requirements:
>
> - Nightcode and Lightmod, which would be fabulous if not for the required 
> use of parinfer
>
> - Jupyter-based approaches, which also seem great except I see none with 
> syntax-aware re-indentation for Clojure
>
> FYI what I'm currently using is a combination of Gorilla REPL and 
> leiningen at the command line. This is quite nice although 
> installation/setup is not as easy or foolproof as I would like (I've had 
> students who tried and failed to get it working on their Windows laptops 
> for an entire semester, messing with Java versions etc.), Gorilla REPL is 
> not very actively maintained, and the requirement to do some things at the 
> command line isn't ideal.
>
> Options I've used in the past, which more-or-less met my requirements but 
> are no longer viable, include Clooj, Nightcode (old versions, before 
> parinfer), and Counterclockwise.
>
> I also try to keep an eye on "high-end" IDEs like Emacs and Cursive, but 
> so far haven't found any that really meet my requirements for simple 
> installation/setup and usability for beginners.
>
> Any pointers would be very much appreciated!
>
> Thanks,
>
>  -Lee
>
> --
> Lee Spector, Professor of Computer Science
> Director, Institute for Computational Intelligence
> Hampshire College, Amherst, Massachusetts, 01002, USA
> lspec...@hampshire.edu, http://hampshire.edu/lspector/, 413-559-5352
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Nando Breiter
I haven't tried it, but

https://atom.io/packages/clojure-indent  ?



Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia

On Mon, Aug 27, 2018 at 5:30 PM, 'Lee' via Clojure  wrote:

>
> Probably true that my requirements are a bigger challenge for
> multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable
> job of it back when that was an active project, but it was a bit rough too,
> since there was a lot of incidental and distracting complexity in dealing
> with Eclipse in general.
>
> I did see the "off" setting for parinfer/paredit in Cursive, but it's not
> really "off" in the sense of behaving like a normal text editor, and I
> don't see re-indentation anywhere. FWIW since this is for teaching I'm not
> really interested in customization, just reasonable behavior out of the box.
>
>
> On Monday, August 27, 2018 at 11:21:47 AM UTC-4, Rick Mangi wrote:
>>
>> Yeah, I actually just create projects with lein. If you right click on a
>> project.clj you can just fire up a repl via lein and it works really well.
>> There's 3 choices for parenthesis, there's again a little button on the
>> bottom right to switch between parinfer/paredit and off. You can customize
>> all of the code reformatting and you can even alias things like defnp and
>> other macros to evaluate correctly.
>>
>> That said, a tool that supports dozens of languages isn't going to do any
>> of them particularly easily :)
>>
>>
>>
>> On Mon, Aug 27, 2018 at 11:18 AM 'Lee' via Clojure <
>> clo...@googlegroups.com> wrote:
>>
>>> Thanks Rick.
>>>
>>> Just tried Cursive again but it still seems to fail pretty badly on
>>> newbie setup and usability, which is what has hung me up in the past.
>>>
>>> tldr: A half hour or so after a fresh install and going through the
>>> Getting Started instructions I still don't have a REPL (confused about Run
>>> Configurations and what I'm seeing doesn't match the website pics), and
>>> although I can edit code in an existing project with drag and drop (can't
>>> yet create a project with a core.clj), even the "Structural Off" editing
>>> mode behaves oddly and doesn't appear to support structure-aware
>>> re-indentation (again, unless I'm missing it). And the indentation that it
>>> prefers after a newline appears to be non-standard (e.g. after "(defn foo").
>>>
>>> I follow the Cursive mailing list and I know that a lot of people find
>>> it to be a wonderful tool, but I don't think it meets my requirements.
>>>
>>>  -Lee
>>>
>>>
>>> On Monday, August 27, 2018 at 10:43:36 AM UTC-4, Rick Mangi wrote:

 I find intellij + cursive to be pretty darn easy to use, and the repl
 has an option to turn off parinfer. That said, I'm not a beginner. The only
 drawback that I can think of other than price is that the clojure
 functionality is mostly put under a single menu and it's sometimes awkward
 to navigate to subcommands.



 On Mon, Aug 27, 2018 at 9:48 AM Alex Miller 
 wrote:

> I think Atom and VSCode are probably the two additional ones you might
> want to look into?
>
> On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote:
>>
>> This is my roughly-annual check-in to see if there are new good
>> editing/execution options for me to use in my Clojure teaching and 
>> coding.
>>
>> My requirements are:
>>
>> - Simple installation/setup, even for new programmers, on
>> Mac/Win/Linux
>>
>> - Usable by new programmers without significant training or learning
>> curve
>>
>> - Syntax-aware re-indentation
>>
>> - Visual indication of matching brackets (e.g. matching bracket
>> highlighted, or rainbow brackets, etc.)
>>
>> - No required use of paredit or parinfer
>>
>> Bells and whistles that would help but aren't as critical as the
>> requirements listed above:
>>
>> - Access to argument lists, documentation, and symbol completion
>> while typing
>>
>> - Integrated REPL, although a command-line REPL paired with an editor
>> that met the requirements above would work
>>
>> I would be interested in solutions that work for Clojure and
>> Clojurescript, or just Clojure, or just Clojurescript.
>>
>> Recent developments of which I'm aware but fall short of my
>> requirements:
>>
>> - Nightcode and Lightmod, which would be fabulous if not for the
>> required use of parinfer
>>
>> - Jupyter-based approaches, which also seem great except I see none
>> with syntax-aware re-indentation for Clojure
>>
>> FYI what I'm currently using is a combination of Gorilla REPL and
>> leiningen at the command line. This is quite nice although
>> installation/setup is not as easy or foolproof as I would like (I've had
>> students who tried and failed to get it working on their Windows laptops
>> for an entire semester, messing with Java versions etc.), Gorilla REPL is
>> 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure

Probably true that my requirements are a bigger challenge for 
multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable 
job of it back when that was an active project, but it was a bit rough too, 
since there was a lot of incidental and distracting complexity in dealing 
with Eclipse in general.

I did see the "off" setting for parinfer/paredit in Cursive, but it's not 
really "off" in the sense of behaving like a normal text editor, and I 
don't see re-indentation anywhere. FWIW since this is for teaching I'm not 
really interested in customization, just reasonable behavior out of the box.


On Monday, August 27, 2018 at 11:21:47 AM UTC-4, Rick Mangi wrote:
>
> Yeah, I actually just create projects with lein. If you right click on a 
> project.clj you can just fire up a repl via lein and it works really well. 
> There's 3 choices for parenthesis, there's again a little button on the 
> bottom right to switch between parinfer/paredit and off. You can customize 
> all of the code reformatting and you can even alias things like defnp and 
> other macros to evaluate correctly. 
>
> That said, a tool that supports dozens of languages isn't going to do any 
> of them particularly easily :)
>
>
>
> On Mon, Aug 27, 2018 at 11:18 AM 'Lee' via Clojure <
> clo...@googlegroups.com > wrote:
>
>> Thanks Rick. 
>>
>> Just tried Cursive again but it still seems to fail pretty badly on 
>> newbie setup and usability, which is what has hung me up in the past. 
>>
>> tldr: A half hour or so after a fresh install and going through the 
>> Getting Started instructions I still don't have a REPL (confused about Run 
>> Configurations and what I'm seeing doesn't match the website pics), and 
>> although I can edit code in an existing project with drag and drop (can't 
>> yet create a project with a core.clj), even the "Structural Off" editing 
>> mode behaves oddly and doesn't appear to support structure-aware 
>> re-indentation (again, unless I'm missing it). And the indentation that it 
>> prefers after a newline appears to be non-standard (e.g. after "(defn foo").
>>
>> I follow the Cursive mailing list and I know that a lot of people find it 
>> to be a wonderful tool, but I don't think it meets my requirements.
>>
>>  -Lee
>>
>>
>> On Monday, August 27, 2018 at 10:43:36 AM UTC-4, Rick Mangi wrote:
>>>
>>> I find intellij + cursive to be pretty darn easy to use, and the repl 
>>> has an option to turn off parinfer. That said, I'm not a beginner. The only 
>>> drawback that I can think of other than price is that the clojure 
>>> functionality is mostly put under a single menu and it's sometimes awkward 
>>> to navigate to subcommands.
>>>
>>>
>>>
>>> On Mon, Aug 27, 2018 at 9:48 AM Alex Miller  
>>> wrote:
>>>
 I think Atom and VSCode are probably the two additional ones you might 
 want to look into?

 On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote:
>
> This is my roughly-annual check-in to see if there are new good 
> editing/execution options for me to use in my Clojure teaching and coding.
>
> My requirements are:
>
> - Simple installation/setup, even for new programmers, on Mac/Win/Linux
>
> - Usable by new programmers without significant training or learning 
> curve
>
> - Syntax-aware re-indentation
>
> - Visual indication of matching brackets (e.g. matching bracket 
> highlighted, or rainbow brackets, etc.)
>
> - No required use of paredit or parinfer
>
> Bells and whistles that would help but aren't as critical as the 
> requirements listed above:
>
> - Access to argument lists, documentation, and symbol completion while 
> typing
>
> - Integrated REPL, although a command-line REPL paired with an editor 
> that met the requirements above would work
>
> I would be interested in solutions that work for Clojure and 
> Clojurescript, or just Clojure, or just Clojurescript.
>
> Recent developments of which I'm aware but fall short of my 
> requirements:
>
> - Nightcode and Lightmod, which would be fabulous if not for the 
> required use of parinfer
>
> - Jupyter-based approaches, which also seem great except I see none 
> with syntax-aware re-indentation for Clojure
>
> FYI what I'm currently using is a combination of Gorilla REPL and 
> leiningen at the command line. This is quite nice although 
> installation/setup is not as easy or foolproof as I would like (I've had 
> students who tried and failed to get it working on their Windows laptops 
> for an entire semester, messing with Java versions etc.), Gorilla REPL is 
> not very actively maintained, and the requirement to do some things at 
> the 
> command line isn't ideal.
>
> Options I've used in the past, which more-or-less met my requirements 
> but are no longer viable, include Clooj, Nightcode (old versions, before 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Rick Mangi
Yeah, I actually just create projects with lein. If you right click on a
project.clj you can just fire up a repl via lein and it works really well.
There's 3 choices for parenthesis, there's again a little button on the
bottom right to switch between parinfer/paredit and off. You can customize
all of the code reformatting and you can even alias things like defnp and
other macros to evaluate correctly.

That said, a tool that supports dozens of languages isn't going to do any
of them particularly easily :)



On Mon, Aug 27, 2018 at 11:18 AM 'Lee' via Clojure 
wrote:

> Thanks Rick.
>
> Just tried Cursive again but it still seems to fail pretty badly on newbie
> setup and usability, which is what has hung me up in the past.
>
> tldr: A half hour or so after a fresh install and going through the
> Getting Started instructions I still don't have a REPL (confused about Run
> Configurations and what I'm seeing doesn't match the website pics), and
> although I can edit code in an existing project with drag and drop (can't
> yet create a project with a core.clj), even the "Structural Off" editing
> mode behaves oddly and doesn't appear to support structure-aware
> re-indentation (again, unless I'm missing it). And the indentation that it
> prefers after a newline appears to be non-standard (e.g. after "(defn foo").
>
> I follow the Cursive mailing list and I know that a lot of people find it
> to be a wonderful tool, but I don't think it meets my requirements.
>
>  -Lee
>
>
> On Monday, August 27, 2018 at 10:43:36 AM UTC-4, Rick Mangi wrote:
>>
>> I find intellij + cursive to be pretty darn easy to use, and the repl has
>> an option to turn off parinfer. That said, I'm not a beginner. The only
>> drawback that I can think of other than price is that the clojure
>> functionality is mostly put under a single menu and it's sometimes awkward
>> to navigate to subcommands.
>>
>>
>>
>> On Mon, Aug 27, 2018 at 9:48 AM Alex Miller  wrote:
>>
>>> I think Atom and VSCode are probably the two additional ones you might
>>> want to look into?
>>>
>>> On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote:

 This is my roughly-annual check-in to see if there are new good
 editing/execution options for me to use in my Clojure teaching and coding.

 My requirements are:

 - Simple installation/setup, even for new programmers, on Mac/Win/Linux

 - Usable by new programmers without significant training or learning
 curve

 - Syntax-aware re-indentation

 - Visual indication of matching brackets (e.g. matching bracket
 highlighted, or rainbow brackets, etc.)

 - No required use of paredit or parinfer

 Bells and whistles that would help but aren't as critical as the
 requirements listed above:

 - Access to argument lists, documentation, and symbol completion while
 typing

 - Integrated REPL, although a command-line REPL paired with an editor
 that met the requirements above would work

 I would be interested in solutions that work for Clojure and
 Clojurescript, or just Clojure, or just Clojurescript.

 Recent developments of which I'm aware but fall short of my
 requirements:

 - Nightcode and Lightmod, which would be fabulous if not for the
 required use of parinfer

 - Jupyter-based approaches, which also seem great except I see none
 with syntax-aware re-indentation for Clojure

 FYI what I'm currently using is a combination of Gorilla REPL and
 leiningen at the command line. This is quite nice although
 installation/setup is not as easy or foolproof as I would like (I've had
 students who tried and failed to get it working on their Windows laptops
 for an entire semester, messing with Java versions etc.), Gorilla REPL is
 not very actively maintained, and the requirement to do some things at the
 command line isn't ideal.

 Options I've used in the past, which more-or-less met my requirements
 but are no longer viable, include Clooj, Nightcode (old versions, before
 parinfer), and Counterclockwise.

 I also try to keep an eye on "high-end" IDEs like Emacs and Cursive,
 but so far haven't found any that really meet my requirements for simple
 installation/setup and usability for beginners.

 Any pointers would be very much appreciated!

 Thanks,

  -Lee

 --
 Lee Spector, Professor of Computer Science
 Director, Institute for Computational Intelligence
 Hampshire College, Amherst, Massachusetts, 01002, USA
 lspe...@hampshire.edu, http://hampshire.edu/lspector/, 413-559-5352

 --
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@googlegroups.com
>>> Note that posts from new members are moderated - please be patient with
>>> your first post.
>>> To unsubscribe 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
Thanks Rick. 

Just tried Cursive again but it still seems to fail pretty badly on newbie 
setup and usability, which is what has hung me up in the past. 

tldr: A half hour or so after a fresh install and going through the Getting 
Started instructions I still don't have a REPL (confused about Run 
Configurations and what I'm seeing doesn't match the website pics), and 
although I can edit code in an existing project with drag and drop (can't 
yet create a project with a core.clj), even the "Structural Off" editing 
mode behaves oddly and doesn't appear to support structure-aware 
re-indentation (again, unless I'm missing it). And the indentation that it 
prefers after a newline appears to be non-standard (e.g. after "(defn foo").

I follow the Cursive mailing list and I know that a lot of people find it 
to be a wonderful tool, but I don't think it meets my requirements.

 -Lee


On Monday, August 27, 2018 at 10:43:36 AM UTC-4, Rick Mangi wrote:
>
> I find intellij + cursive to be pretty darn easy to use, and the repl has 
> an option to turn off parinfer. That said, I'm not a beginner. The only 
> drawback that I can think of other than price is that the clojure 
> functionality is mostly put under a single menu and it's sometimes awkward 
> to navigate to subcommands.
>
>
>
> On Mon, Aug 27, 2018 at 9:48 AM Alex Miller  > wrote:
>
>> I think Atom and VSCode are probably the two additional ones you might 
>> want to look into?
>>
>> On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote:
>>>
>>> This is my roughly-annual check-in to see if there are new good 
>>> editing/execution options for me to use in my Clojure teaching and coding.
>>>
>>> My requirements are:
>>>
>>> - Simple installation/setup, even for new programmers, on Mac/Win/Linux
>>>
>>> - Usable by new programmers without significant training or learning 
>>> curve
>>>
>>> - Syntax-aware re-indentation
>>>
>>> - Visual indication of matching brackets (e.g. matching bracket 
>>> highlighted, or rainbow brackets, etc.)
>>>
>>> - No required use of paredit or parinfer
>>>
>>> Bells and whistles that would help but aren't as critical as the 
>>> requirements listed above:
>>>
>>> - Access to argument lists, documentation, and symbol completion while 
>>> typing
>>>
>>> - Integrated REPL, although a command-line REPL paired with an editor 
>>> that met the requirements above would work
>>>
>>> I would be interested in solutions that work for Clojure and 
>>> Clojurescript, or just Clojure, or just Clojurescript.
>>>
>>> Recent developments of which I'm aware but fall short of my requirements:
>>>
>>> - Nightcode and Lightmod, which would be fabulous if not for the 
>>> required use of parinfer
>>>
>>> - Jupyter-based approaches, which also seem great except I see none with 
>>> syntax-aware re-indentation for Clojure
>>>
>>> FYI what I'm currently using is a combination of Gorilla REPL and 
>>> leiningen at the command line. This is quite nice although 
>>> installation/setup is not as easy or foolproof as I would like (I've had 
>>> students who tried and failed to get it working on their Windows laptops 
>>> for an entire semester, messing with Java versions etc.), Gorilla REPL is 
>>> not very actively maintained, and the requirement to do some things at the 
>>> command line isn't ideal.
>>>
>>> Options I've used in the past, which more-or-less met my requirements 
>>> but are no longer viable, include Clooj, Nightcode (old versions, before 
>>> parinfer), and Counterclockwise.
>>>
>>> I also try to keep an eye on "high-end" IDEs like Emacs and Cursive, but 
>>> so far haven't found any that really meet my requirements for simple 
>>> installation/setup and usability for beginners.
>>>
>>> Any pointers would be very much appreciated!
>>>
>>> Thanks,
>>>
>>>  -Lee
>>>
>>> --
>>> Lee Spector, Professor of Computer Science
>>> Director, Institute for Computational Intelligence
>>> Hampshire College, Amherst, Massachusetts, 01002, USA
>>> lspe...@hampshire.edu , http://hampshire.edu/lspector/, 
>>> 413-559-5352
>>>
>>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> 
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Clojure" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to clojure+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated 

Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Rick Mangi
I find intellij + cursive to be pretty darn easy to use, and the repl has
an option to turn off parinfer. That said, I'm not a beginner. The only
drawback that I can think of other than price is that the clojure
functionality is mostly put under a single menu and it's sometimes awkward
to navigate to subcommands.



On Mon, Aug 27, 2018 at 9:48 AM Alex Miller  wrote:

> I think Atom and VSCode are probably the two additional ones you might
> want to look into?
>
> On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote:
>>
>> This is my roughly-annual check-in to see if there are new good
>> editing/execution options for me to use in my Clojure teaching and coding.
>>
>> My requirements are:
>>
>> - Simple installation/setup, even for new programmers, on Mac/Win/Linux
>>
>> - Usable by new programmers without significant training or learning curve
>>
>> - Syntax-aware re-indentation
>>
>> - Visual indication of matching brackets (e.g. matching bracket
>> highlighted, or rainbow brackets, etc.)
>>
>> - No required use of paredit or parinfer
>>
>> Bells and whistles that would help but aren't as critical as the
>> requirements listed above:
>>
>> - Access to argument lists, documentation, and symbol completion while
>> typing
>>
>> - Integrated REPL, although a command-line REPL paired with an editor
>> that met the requirements above would work
>>
>> I would be interested in solutions that work for Clojure and
>> Clojurescript, or just Clojure, or just Clojurescript.
>>
>> Recent developments of which I'm aware but fall short of my requirements:
>>
>> - Nightcode and Lightmod, which would be fabulous if not for the required
>> use of parinfer
>>
>> - Jupyter-based approaches, which also seem great except I see none with
>> syntax-aware re-indentation for Clojure
>>
>> FYI what I'm currently using is a combination of Gorilla REPL and
>> leiningen at the command line. This is quite nice although
>> installation/setup is not as easy or foolproof as I would like (I've had
>> students who tried and failed to get it working on their Windows laptops
>> for an entire semester, messing with Java versions etc.), Gorilla REPL is
>> not very actively maintained, and the requirement to do some things at the
>> command line isn't ideal.
>>
>> Options I've used in the past, which more-or-less met my requirements but
>> are no longer viable, include Clooj, Nightcode (old versions, before
>> parinfer), and Counterclockwise.
>>
>> I also try to keep an eye on "high-end" IDEs like Emacs and Cursive, but
>> so far haven't found any that really meet my requirements for simple
>> installation/setup and usability for beginners.
>>
>> Any pointers would be very much appreciated!
>>
>> Thanks,
>>
>>  -Lee
>>
>> --
>> Lee Spector, Professor of Computer Science
>> Director, Institute for Computational Intelligence
>> Hampshire College, Amherst, Massachusetts, 01002, USA
>> lspec...@hampshire.edu, http://hampshire.edu/lspector/, 413-559-5352
>>
>> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
Thanks Alex. 

I've tried Atom periodically and just updated/reinitialized to try again. 
Unfortunately, I don't see syntax-aware re-indentation, which may be what 
has always prevented me from using this in the past. Am I just missing it?

VSCode is a new one for me, and I've just tried it. Not great on "Simple 
installation/setup, even for new programmers," or "Usable by new 
programmers without significant training or learning curve," involving 
editing `.lein/profiles.clj` and command key chords etc., and although I 
think I've got it running (connected to server), I still haven't really 
figured out how to use it. The kicker, though, is that it also doesn't 
appear to have syntax-aware re-indentation. Am I missing it here too?

Thanks,

 -Lee

On Monday, August 27, 2018 at 9:48:35 AM UTC-4, Alex Miller wrote:
>
> I think Atom and VSCode are probably the two additional ones you might 
> want to look into?
>
> On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote:
>>
>> This is my roughly-annual check-in to see if there are new good 
>> editing/execution options for me to use in my Clojure teaching and coding.
>>
>> My requirements are:
>>
>> - Simple installation/setup, even for new programmers, on Mac/Win/Linux
>>
>> - Usable by new programmers without significant training or learning curve
>>
>> - Syntax-aware re-indentation
>>
>> - Visual indication of matching brackets (e.g. matching bracket 
>> highlighted, or rainbow brackets, etc.)
>>
>> - No required use of paredit or parinfer
>>
>> Bells and whistles that would help but aren't as critical as the 
>> requirements listed above:
>>
>> - Access to argument lists, documentation, and symbol completion while 
>> typing
>>
>> - Integrated REPL, although a command-line REPL paired with an editor 
>> that met the requirements above would work
>>
>> I would be interested in solutions that work for Clojure and 
>> Clojurescript, or just Clojure, or just Clojurescript.
>>
>> Recent developments of which I'm aware but fall short of my requirements:
>>
>> - Nightcode and Lightmod, which would be fabulous if not for the required 
>> use of parinfer
>>
>> - Jupyter-based approaches, which also seem great except I see none with 
>> syntax-aware re-indentation for Clojure
>>
>> FYI what I'm currently using is a combination of Gorilla REPL and 
>> leiningen at the command line. This is quite nice although 
>> installation/setup is not as easy or foolproof as I would like (I've had 
>> students who tried and failed to get it working on their Windows laptops 
>> for an entire semester, messing with Java versions etc.), Gorilla REPL is 
>> not very actively maintained, and the requirement to do some things at the 
>> command line isn't ideal.
>>
>> Options I've used in the past, which more-or-less met my requirements but 
>> are no longer viable, include Clooj, Nightcode (old versions, before 
>> parinfer), and Counterclockwise.
>>
>> I also try to keep an eye on "high-end" IDEs like Emacs and Cursive, but 
>> so far haven't found any that really meet my requirements for simple 
>> installation/setup and usability for beginners.
>>
>> Any pointers would be very much appreciated!
>>
>> Thanks,
>>
>>  -Lee
>>
>> --
>> Lee Spector, Professor of Computer Science
>> Director, Institute for Computational Intelligence
>> Hampshire College, Amherst, Massachusetts, 01002, USA
>> lspe...@hampshire.edu , http://hampshire.edu/lspector/, 
>> 413-559-5352
>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread Alex Miller
I think Atom and VSCode are probably the two additional ones you might want 
to look into?

On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote:
>
> This is my roughly-annual check-in to see if there are new good 
> editing/execution options for me to use in my Clojure teaching and coding.
>
> My requirements are:
>
> - Simple installation/setup, even for new programmers, on Mac/Win/Linux
>
> - Usable by new programmers without significant training or learning curve
>
> - Syntax-aware re-indentation
>
> - Visual indication of matching brackets (e.g. matching bracket 
> highlighted, or rainbow brackets, etc.)
>
> - No required use of paredit or parinfer
>
> Bells and whistles that would help but aren't as critical as the 
> requirements listed above:
>
> - Access to argument lists, documentation, and symbol completion while 
> typing
>
> - Integrated REPL, although a command-line REPL paired with an editor that 
> met the requirements above would work
>
> I would be interested in solutions that work for Clojure and 
> Clojurescript, or just Clojure, or just Clojurescript.
>
> Recent developments of which I'm aware but fall short of my requirements:
>
> - Nightcode and Lightmod, which would be fabulous if not for the required 
> use of parinfer
>
> - Jupyter-based approaches, which also seem great except I see none with 
> syntax-aware re-indentation for Clojure
>
> FYI what I'm currently using is a combination of Gorilla REPL and 
> leiningen at the command line. This is quite nice although 
> installation/setup is not as easy or foolproof as I would like (I've had 
> students who tried and failed to get it working on their Windows laptops 
> for an entire semester, messing with Java versions etc.), Gorilla REPL is 
> not very actively maintained, and the requirement to do some things at the 
> command line isn't ideal.
>
> Options I've used in the past, which more-or-less met my requirements but 
> are no longer viable, include Clooj, Nightcode (old versions, before 
> parinfer), and Counterclockwise.
>
> I also try to keep an eye on "high-end" IDEs like Emacs and Cursive, but 
> so far haven't found any that really meet my requirements for simple 
> installation/setup and usability for beginners.
>
> Any pointers would be very much appreciated!
>
> Thanks,
>
>  -Lee
>
> --
> Lee Spector, Professor of Computer Science
> Director, Institute for Computational Intelligence
> Hampshire College, Amherst, Massachusetts, 01002, USA
> lspec...@hampshire.edu, http://hampshire.edu/lspector/, 413-559-5352
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
This is my roughly-annual check-in to see if there are new good 
editing/execution options for me to use in my Clojure teaching and coding.

My requirements are:

- Simple installation/setup, even for new programmers, on Mac/Win/Linux

- Usable by new programmers without significant training or learning curve

- Syntax-aware re-indentation

- Visual indication of matching brackets (e.g. matching bracket 
highlighted, or rainbow brackets, etc.)

- No required use of paredit or parinfer

Bells and whistles that would help but aren't as critical as the 
requirements listed above:

- Access to argument lists, documentation, and symbol completion while 
typing

- Integrated REPL, although a command-line REPL paired with an editor that 
met the requirements above would work

I would be interested in solutions that work for Clojure and Clojurescript, 
or just Clojure, or just Clojurescript.

Recent developments of which I'm aware but fall short of my requirements:

- Nightcode and Lightmod, which would be fabulous if not for the required 
use of parinfer

- Jupyter-based approaches, which also seem great except I see none with 
syntax-aware re-indentation for Clojure

FYI what I'm currently using is a combination of Gorilla REPL and leiningen 
at the command line. This is quite nice although installation/setup is not 
as easy or foolproof as I would like (I've had students who tried and 
failed to get it working on their Windows laptops for an entire semester, 
messing with Java versions etc.), Gorilla REPL is not very actively 
maintained, and the requirement to do some things at the command line isn't 
ideal.

Options I've used in the past, which more-or-less met my requirements but 
are no longer viable, include Clooj, Nightcode (old versions, before 
parinfer), and Counterclockwise.

I also try to keep an eye on "high-end" IDEs like Emacs and Cursive, but so 
far haven't found any that really meet my requirements for simple 
installation/setup and usability for beginners.

Any pointers would be very much appreciated!

Thanks,

 -Lee

--
Lee Spector, Professor of Computer Science
Director, Institute for Computational Intelligence
Hampshire College, Amherst, Massachusetts, 01002, USA
lspec...@hampshire.edu, http://hampshire.edu/lspector/, 413-559-5352

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.