[ANN] New video about the Meyvn polyglot REPL environment

2023-07-03 Thread Daniel Szmulewicz
Another video about the Meyvn polyglot REPL environment. This time we look at a real-world code example, BrickSort, with two reference implementations courtesy of the open source library *The Algorithms*. In the Java version, a static method called OddEvenSort is provided by the class

[ANN] Video tutorial about the Meyvn REPL

2023-05-12 Thread Daniel Szmulewicz
Hello everyone, The Meyvn REPL supports Java and Kotlin codebases. Source files are being monitored and compiled automatically, so you can create a class in Java, import it in a Kotlin object, which you can then manipulate at the REPL in Clojure. It achieves this by doing static analysis not

cider repl error ClassNotFoundException: jdk.javadoc.doclet.Doclet

2023-01-12 Thread Nyemike Onukwu
I have started learning clojure. Using the book "clojure for the brave and true". I am trying to get the first code running using emacs, cider. Whenever I run M-x cider-jack-in to start the repl. It starts then I get a very long error stack trace. >From the analysis I have do

Re: infinite loop print out of cyclic structure at repl

2022-01-01 Thread dieter.v...@gmail.com
t;> > on it(). Either way I'd love to work out a way to avoid the cycles and >> this >> > paste sounds good. >> > >> > >> > On Monday, January 18, 2010 10:21:52 PM UTC, Chouser wrote: >> >> >> >> > On Jan 18, 4:2

Re: infinite loop print out of cyclic structure at repl

2022-01-01 Thread dieter.v...@gmail.com
my case, but haven't spent much > time > > on it(). Either way I'd love to work out a way to avoid the cycles and > this > > paste sounds good. > > > > > > On Monday, January 18, 2010 10:21:52 PM UTC, Chouser wrote: > >> > >> > On

ANN: RCF, a REPL-first test macro for Clojure/Script (now with async tests!)

2021-11-04 Thread Dustin Getz
RCF turns your Rich Comment Forms into tests. No watchers, no beeping, no lagging, no boilerplate. One key-chord to run tests (send form or file to repl). Try it, it's good! https://github.com/hyperfiddle/rcf/ Changes: Async support for RCF test blocks is now available! Now develop

Re: ClojureScript repl over proxy

2021-04-23 Thread Maksim Ryzhikov
Thanks, but how SSH tunnel would help here? Currently, I see that ClojureScript hard coded localhost HOST and PORT in the JavaScript code which would send a request from the browser to establish REPL connection. Or you suggest setup forwarding localhost:9090 from local machine to the cloud

Re: ClojureScript repl over proxy

2021-04-22 Thread Lars Rune Nøstdal
21 at 8:40:35 PM UTC+3 rv.m...@gmail.com wrote: > Hi, > > I'm using a cloud development platform (Gitpod) and it automatically > creates proxy from public URL to localhost, so you can develop a web > application from cloud and see the result. I'm trying to run cljs RE

ClojureScript repl over proxy

2021-04-21 Thread Maksim Ryzhikov
Hi, I'm using a cloud development platform (Gitpod) and it automatically creates proxy from public URL to localhost, so you can develop a web application from cloud and see the result. I'm trying to run cljs REPL, but it fails to connect because it tries to connect to the REPL on

Re: Without breakloop not much of a REPL

2021-02-01 Thread Andy Fingerhut
There is no reason to merely imagine ... you can do it today. Here is a transcript of Stuart Halloway's "REPL-Driven Development" talk with links to sources that he mentions: https://github.com/matthiasn/talk-transcripts/blob/master/Halloway_Stuart/REPLDrivenDevelopment.md The pa

Re: Without breakloop not much of a REPL

2021-02-01 Thread Nesvarbu Nereikia
an configure Clojure to run >> clojure.main/repl when an exception is thrown, this puts you into a new sub >> repl with the lexical bindings at that point in execution. You can inspect >> things here and I believe change things. I'm not sure about continuing >> running wi

Re: Without breakloop not much of a REPL

2021-01-29 Thread Brandon R
t; a talk by Stuart Halloway. IIRC you can configure Clojure to run > clojure.main/repl when an exception is thrown, this puts you into a new sub > repl with the lexical bindings at that point in execution. You can inspect > things here and I believe change things. I'm not sure about con

Re: Without breakloop not much of a REPL

2021-01-29 Thread Brandon R
I believe what's described in that post is possible in Clojure, at least to an extent. I can't remember where I saw it described, but I think it was a talk by Stuart Halloway. IIRC you can configure Clojure to run clojure.main/repl when an exception is thrown, this puts you into a ne

Without breakloop not much of a REPL

2021-01-29 Thread SideStep
According to this post: https://mikelevins.github.io/posts/2020-12-18-repl-driven/ Breakloop is a true differentiator for "real" REPLs. I can see how breakloop really is a game changer. Also, there is no breakloop in modern languages such as clojure, which is heralded for it

Re: JNA stdout and the REPL

2020-02-14 Thread Jason Felice
; >> >> >> >> >> void printf(String format, Object... args); >> >> >> } >> >> > > > > calling this from a java main like this works as expected at the command > line > C.INSTANCE.printf("hello\n"); > > but from the c

Re: JNA stdout and the REPL

2020-02-14 Thread Sonny To
> calling this from a java main like this works as expected at the command line C.INSTANCE.printf("hello\n"); but from the clojure REPL, (.printf foo

JNA stdout and the REPL

2020-02-14 Thread Sonny To
I am using JNA to call native C code. calling native code that outputs to stdout does not show up in the Clojure REPL. stdout is redirected somewhere that is not attached to *out* How can I get stdout from native code outputting to *out* in the REPL? Without this, it makes it difficult to see

Re: Announcing The REPL podcast

2018-11-28 Thread Alan Moore
Same here, great work in the podcast and Clojurists Together! Alan -- 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 y

Re: Announcing The REPL podcast

2018-11-28 Thread rick
I’ve been enjoying the podcast! > On Nov 28, 2018, at 3:06 PM, Daniel Compton > wrote: > > Hi folks > > I've started a podcast "The REPL" about Clojure and ClojureScript to > accompany the weekly newsletter. I've written a little bit about the > b

Re: Announcing The REPL podcast

2018-11-28 Thread Marc O'Morain
Hi Daniel, Well done on the podcast. I listen every week, it's great! Marc On Wed, 28 Nov 2018 at 20:07, Daniel Compton wrote: > Hi folks > > I've started a podcast "The REPL" about Clojure and ClojureScript to > accompany the weekly newsletter. I&#

Announcing The REPL podcast

2018-11-28 Thread Daniel Compton
Hi folks I've started a podcast "The REPL" about Clojure and ClojureScript to accompany the weekly newsletter. I've written a little bit about the background of starting it on my personal site <https://danielcompton.net/2018/11/20/announcing-the-repl>, and you can s

Re: Pipe shell output into REPL?

2018-09-10 Thread Matthias Margush
ell output into a > REPL. Something like: > > cat /tmp/remus-lighthouse-apis-info.ion | lein repl > > When I try this, it starts a REPL, and then each line gets sent one by one > to the REPL and ran. > > I'd like it so that I'm at the REPL, and standard in is

Re: Pipe shell output into REPL?

2018-09-06 Thread Jason Felice
You can use tmux and run your REPL inside a pane. You can then use the tmux commands set-buffer and paste-buffer, wrapped in a little shell, to send text to the REPL. (This is actually how the Kakoune editor does REPLs.) On Wed, Sep 5, 2018 at 9:56 PM Didier wrote: > Hi all, > &

Re: Pipe shell output into REPL?

2018-09-05 Thread Andy Fingerhut
Others with better imagination or Unix-like system hackery skills than myself may respond with a way, but my first inclination is 'no'. In particular, normally what you type at the REPL is being read from standard in. Perhaps if you had a way of changing the Clojure REPL function exe

Pipe shell output into REPL?

2018-09-05 Thread Didier
Hi all, I was wondering if there is an easy way I can pipe my shell output into a REPL. Something like: cat /tmp/remus-lighthouse-apis-info.ion | lein repl When I try this, it starts a REPL, and then each line gets sent one by one to the REPL and ran. I'd like it so that I'm at the

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

2018-08-30 Thread Mark Engelberg
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 somet

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

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 >

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, 2

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

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

2018-08-29 Thread 'Lee' via Clojure
> >>>> > >>>> On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure < > clo...@googlegroups.com> > >>>> wrote: > >>>> > >>>> > >>>> Probably true that my requirements are a bigger chal

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

2018-08-29 Thread Phillip Lord
t; 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 beha

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

2018-08-28 Thread 'Lee' via Clojure
%3A%2F%2Fchocolatey.org%2F&sa=D&sntz=1&usg=AFQjCNFvT2Lbb_LdGEROTiulBcA3dhl9Eg> > > 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 outs

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

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

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 do

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

2018-08-27 Thread 'Lee' via Clojure
lexity 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-indentati

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

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

2018-08-27 Thread Erik Assum
exity 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 >>>> do

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

2018-08-27 Thread Nando Breiter
e "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, j

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

2018-08-27 Thread 'Lee' via Clojure
e 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

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

2018-08-27 Thread rick
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 aga

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

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

2018-08-27 Thread 'Lee' via Clojure
l 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

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 clo

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

2018-08-27 Thread 'Lee' via Clojure
lop2g), 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

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

2018-08-27 Thread Nando Breiter
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

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

2018-08-27 Thread 'Lee' via Clojure
d 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. > The

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 cus

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

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 t

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

2018-08-27 Thread 'Lee' via Clojure
>> - 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

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

2018-08-27 Thread Alex Miller
.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 compl

New developments in beginner-friendly editing/repl environments?

2018-08-27 Thread 'Lee' via Clojure
ss 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 Clojures

Re: Windows Cygwin lein repl

2018-06-02 Thread Alan Thompson
http://corfield.org/ >> >> "If you're not annoying somebody, you're not really alive." >> -- Margaret Atwood >> >> >> -- >> *From:* clo...@googlegroups.com on behalf of >> Alan Thompson >> *Sent:* Th

Re: Windows Cygwin lein repl

2018-06-01 Thread skf . phoenix
*Sent:* Thursday, May 24, 2018 4:48:58 PM > *To:* clo...@googlegroups.com > *Subject:* Re: Windows Cygwin lein repl > > I have used cygwin extensively in the past, but not recently. If you > haven't tried it yet, you should try installing Git For Windows and then > use th

RE: Windows Cygwin lein repl

2018-05-24 Thread Sean Corfield
d.org/ "If you're not annoying somebody, you're not really alive." -- Margaret Atwood From: clojure@googlegroups.com on behalf of Alan Thompson Sent: Thursday, May 24, 2018 4:48:58 PM To: clojure@googlegroups.com Subject: Re: Windows Cygwin lein

Re: Windows Cygwin lein repl

2018-05-24 Thread Alan Thompson
I have used cygwin extensively in the past, but not recently. If you haven't tried it yet, you should try installing Git For Windows and then use the "Git Bash" command shell. Alan On Wed, May 23, 2018 at 3:37 AM, wrote: > A quick note to anyone coming to this later. I haven't been able to fix

Re: Windows Cygwin lein repl

2018-05-23 Thread skf . phoenix
A quick note to anyone coming to this later. I haven't been able to fix this and have reverted back to 2.7.1 -- Kind regards Stephen -- 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 Not

Windows Cygwin lein repl

2018-05-16 Thread skf . phoenix
Hi, I don't know if this is off topic, so I apologize in advance. I have upgraded to the Leiningen 2.8.1 and since then I have not been able to open a repl. This is on Windows, behind a proxy, being launched from in Cygwin. Where as Leiningen 2.7.1 repl works from when launched in Wi

Re: Duplicate REPL prompt

2018-04-22 Thread Marat Khafizov
lein repl -- 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 g

Duplicate REPL prompt

2018-04-22 Thread Alex Miller
How did you start your REPL? -- 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 unsubs

Duplicate REPL prompt

2018-04-22 Thread Marat Khafizov
Hi. I'm getting extra empty line in the clojure repl after evaluation: user=> 1 1 user=> user=> I'm on windows, probably the problem is in the line endings? This appears with Clojure v1.8+. However I haven't seen this in the earlier versions of Clojure. How to fix t

Re: [?] How to enumerate the ClojureScript macros in ClojureScript REPL such as figwheel REPL?

2018-04-08 Thread Philos Kim
I found the way, so I want to share the tip with others here ( https://gist.github.com/philoskim/1d61574f69902c102d1a3c5c9112c6ba ). 2018년 4월 5일 목요일 오후 5시 23분 44초 UTC+9, Philos Kim 님의 말: > > I ran the follwoing code in the figwheel REPL and the result is an empty > list. >

[?] How to enumerate the ClojureScript macros in ClojureScript REPL such as figwheel REPL?

2018-04-05 Thread Philos Kim
I ran the follwoing code in the figwheel REPL and the result is an empty list. How can I enumerate the ClojureScript macros? dev:cljs.user=> (->> (ns-publics 'cljs.core) vals (filter #(get (meta %) :macro))) () Thanks in advance. --

new 'Programming at the REPL' guide on clojure.org

2018-03-23 Thread Val Waeselynck
A new guide on clojure.org, which aims at distilling years of experience using Clojure REPLs, for Clojure programmers of any experience level. https://clojure.org/guides/repl/introduction Feedback welcome! Thanks very much to everyone who participated in the genesis <https://clojureverse.

Re: Any better client then telnet for connecting to a socket repl server?

2018-03-14 Thread Didier
any standard Clojure 1.8+ socket repl and give you a Repl with full emacs like readline, multi-line support, auto-complete, and eldoc style instant documentation. No need to add any extra dependencies to your Clojure project or setup anything more then just activate the socket repl. Frankly

Re: Any better client then telnet for connecting to a socket repl server?

2018-03-10 Thread Stuart Sierra
I sometimes use inf-clojure mode <https://github.com/clojure-emacs/inf-clojure> in Emacs, which can connect directly to a socket REPL. I have a helper Elisp function inf-clojure-to-socket <https://github.com/stuartsierra/dotfiles/blob/81b0ac9dde185b7515284217e7ddb002c980f3bb

RE: Any better client then telnet for connecting to a socket repl server?

2018-03-04 Thread Kimmo Koskinen
Hi! There are quite impressive socket repl clients such as https://github.com/Unrepl/unravel and https://github.com/Unrepl/spiral (for Emacs) both of which use the unrepl protocol https://github.com/unrepl/unrepl. - Kimmo -- You received this message because you are subscribed to the Google

RE: Any better client then telnet for connecting to a socket repl server?

2018-03-03 Thread Sean Corfield
rch 2, 2018 5:49:45 PM To: Clojure Subject: Any better client then telnet for connecting to a socket repl server? I want to connect to a Clojure socket repl server, but telnet is a really terrible repl experience. Anyway I can have a better client to connect to it that would have some b

Re: Any better client then telnet for connecting to a socket repl server?

2018-03-03 Thread Timothy Baldridge
Sadly NREPL isn't a REPL it's a RPC protocol transport for remote controlling a Clojure instance. You might look into rebel: although I'm not sure how well that plays with remote terminals. https://github.com/bhauman/rebel-readline. Also look into doing some of this with readli

Re: Any better client then telnet for connecting to a socket repl server?

2018-03-03 Thread Chris Shellenbarger
Can you use NREPL? https://github.com/clojure/tools.nrepl This seems to be what most tools that provide a REPL are built on top of (Cursive, CIDER, etc). On Friday, March 2, 2018 at 7:49:45 PM UTC-6, Didier wrote: > > I want to connect to a Clojure socket repl server, but telnet is a

Any better client then telnet for connecting to a socket repl server?

2018-03-02 Thread Didier
I want to connect to a Clojure socket repl server, but telnet is a really terrible repl experience. Anyway I can have a better client to connect to it that would have some better support for history, backspace, maybe even some auto-complete, highlight, etc. Whatever I can get over telnet

[ANN] Re-ops, REPL driven operations

2018-02-14 Thread ronen
Re-ops , is a project that takes a different approach for configuration management and VM orchestration, by using a live Clojure REPL it enables rapid change and flexibility beyond that of existing tools. It uses pure functions and datastructures to define pipelines and operations thus making

Re: [ANN] clj-java-decompiler - decompile any Clojure form into Java in the REPL

2018-01-29 Thread Howard Lewis Ship
t 8:58 AM, Alexander Yakushev > wrote: > >> I'm happy to release clj-java-decompiler[1] today, a wrapper around >> Procyon[2] Java decompiler. With it, you can cut the feedback loop of >> writing a file, AOT-compiling it, and then running the classes through a >&

Re: [ANN] clj-java-decompiler - decompile any Clojure form into Java in the REPL

2018-01-29 Thread Laurens Van Houtven
en running the classes through a > decompiler to a single call in the REPL. > > user> (clj-java-decompiler.core/decompile > (loop [i 100, sum 0] > (if (< i 0) > sum > (recur (unchecked-dec i) (unchecked-add sum i) > > //

[ANN] clj-java-decompiler - decompile any Clojure form into Java in the REPL

2018-01-29 Thread Alexander Yakushev
I'm happy to release clj-java-decompiler[1] today, a wrapper around Procyon[2] Java decompiler. With it, you can cut the feedback loop of writing a file, AOT-compiling it, and then running the classes through a decompiler to a single call in the REPL. user> (clj-java-decompiler.core/d

Re: lein repl broken under 1.9?

2018-01-13 Thread Andrew Dabrowski
You were right: it was spyscope. I forgot I had it in .lein/profiles.clj. -- 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

Re: lein repl broken under 1.9?

2018-01-13 Thread Andrew Dabrowski
lojure/clojure "1.9.0"]] :main ^:skip-aot foobar.core :target-path "target/%s" :profiles {:uberjar {:aot :all}} ) and core.clj (ns foobar.core (:gen-class) ) (defn -main "I don't do a whole lot ... yet." [& args] (println "Hello, Worl

Re: lein repl broken under 1.9?

2018-01-13 Thread Andrew Dabrowski
I think that's just a warning. When I remove seesaw from the project I get pretty much the same problem. $ lein repl Exception in thread "main" clojure.lang.ExceptionInfo: Call to clojure.core/ns did not conform to spec: On Saturday, January 13, 2018 at 4:14:32 PM UTC-5,

Re: lein repl broken under 1.9?

2018-01-13 Thread Andy Fingerhut
Dabrowski wrote: > I can't start a lein repl under 1.9 ( clojure 1.8 still works fine). > > $ lein repl > WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: > seesaw.util, being replaced by: #'seesaw.util/boolean? > Exception in thread "mai

lein repl broken under 1.9?

2018-01-13 Thread Andrew Dabrowski
I can't start a lein repl under 1.9 ( clojure 1.8 still works fine). $ lein repl WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: seesaw.util, being replaced by: #'seesaw.util/boolean? Exception in thread "main" clojure.lang.ExceptionInfo: Cal

Re: Terminating 'clj' REPL session

2017-12-11 Thread Oleksandr Shulgin
On Sat, Dec 9, 2017 at 11:37 PM, Alan Thompson wrote: > Hi - Just downloaded the new Clojure 1.9.0 package. When I tried the repl > I noticed that it doesn't respond to either `exit` or `quit` as one might > expect from the lein repl: > > ~/cool/tools > clj > Clojure

Re: Terminating 'clj' REPL session

2017-12-10 Thread Alex Miller
Sure, file a ticket. -- 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

Re: Terminating 'clj' REPL session

2017-12-09 Thread Alan Thompson
> > ~ > clj > Clojure 1.9.0 (use ^D to exit) > user=> > ~ > > > Alan > > On Sat, Dec 9, 2017 at 5:15 PM, Sean Corfield wrote: > >> I find the fact that "exit" and "quit" work in leiningen repls to be weird >> >> >> >

Re: Terminating 'clj' REPL session

2017-12-09 Thread Alan Thompson
" work in leiningen repls to be weird > > > > I agree. I’ve always used ctl-d to exit a Leiningen REPL or a Boot REPL – > or pretty much any console program I’ve ever used. I’m only surprised when > ctl-d _*doesn’t*_ work in such a program! > > > > And, after all, bot

RE: Terminating 'clj' REPL session

2017-12-09 Thread Sean Corfield
I find the fact that "exit" and "quit" work in leiningen repls to be weird I agree. I’ve always used ctl-d to exit a Leiningen REPL or a Boot REPL – or pretty much any console program I’ve ever used. I’m only surprised when ctl-d _doesn’t_ work in such a program! And, after

Terminating 'clj' REPL session

2017-12-09 Thread Alex Miller
This really just the standard behavior of clojure.main, not a feature of the clj tool, so this would require a change in Clojure itself. -- 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 Not

Re: Terminating 'clj' REPL session

2017-12-09 Thread Justin Smith
f band special case input? On Sat, Dec 9, 2017 at 2:38 PM Alan Thompson wrote: > Hi - Just downloaded the new Clojure 1.9.0 package. When I tried the repl > I noticed that it doesn't respond to either `exit` or `quit` as one might > expect from the lein repl: > > ~/cool/tools

Terminating 'clj' REPL session

2017-12-09 Thread Alan Thompson
Hi - Just downloaded the new Clojure 1.9.0 package. When I tried the repl I noticed that it doesn't respond to either `exit` or `quit` as one might expect from the lein repl: ~/cool/tools > clj Clojure 1.9.0 user=> (+ 2 3) 5 user=> exit CompilerException java.lang.RuntimeExcept

Re: Releasing scope-capture, a library for easing REPL-based debugging

2017-10-19 Thread Mike Rodriguez
regarding ClojureScript support. Please tell me if you still have issues. > > Cheers, > > Val > > On Saturday, 14 October 2017 20:31:35 UTC+2, Mike Rodriguez wrote: >> >> I really like this library already. I only had to give it about 5 minutes >> of time to i

Re: Releasing scope-capture, a library for easing REPL-based debugging

2017-10-19 Thread Val Waeselynck
ell me if you still have issues. Cheers, Val On Saturday, 14 October 2017 20:31:35 UTC+2, Mike Rodriguez wrote: > > I really like this library already. I only had to give it about 5 minutes > of time to immediately see how it simplified quick REPL-driven debugging > workflows fo

Re: Releasing scope-capture, a library for easing REPL-based debugging

2017-10-14 Thread Mike Rodriguez
I really like this library already. I only had to give it about 5 minutes of time to immediately see how it simplified quick REPL-driven debugging workflows for me. The only outstanding issue that is an annoyance for me is the CLJS support, which is discussed at https://github.com

Re: ANN: ClojureScript 1.9.542, spec changes & REPL enhancement

2017-10-13 Thread Rangel Spasov
;>> >>> [org.clojure/clojurescript "1.9.542"] >>> >>> This release is primarily about staying in sync with the latest changes >>> to spec. It >>> also includes a small but significant enhancement to REPLs to allow >>> handling m

Re: ANN: ClojureScript 1.9.542, spec changes & REPL enhancement

2017-10-13 Thread David Nolen
rimarily about staying in sync with the latest changes >> to spec. It >> also includes a small but significant enhancement to REPLs to allow >> handling multiple forms. >> >> As always, feedback welcome! >> >> ## 1.9.542 >> >> ### Enhancement

Re: (resolve (symbol f)) works at the REPL but not in an uberjar

2017-10-13 Thread Isaac Tsang
That because you REPL had set `*ns*`, when Clojure bootstrap from clojure.main, the *ns* bound to clojure.core On Friday, October 13, 2017 at 9:27:06 AM UTC+8, lawrence...@gmail.com wrote: > > At the REPL, this works perfectly: > > > (defn get-users [] [:susan :kwan]) > >

Re: (resolve (symbol f)) works at the REPL but not in an uberjar

2017-10-13 Thread Gary Verhaegen
t; >>> Nevermind. I found that this works, though I think it is ugly and >>> inelegant: >>> >>> resolved-f (resolve (symbol (str "denormalize.pull-from-mysql/" >>> f))) >>> >>> >>> On Thursday, October 12, 201

Re: (resolve (symbol f)) works at the REPL but not in an uberjar

2017-10-13 Thread lawrence . krubner
>> f))) >> >> >> On Thursday, October 12, 2017 at 9:27:06 PM UTC-4, lawrence...@gmail.com >> wrote: >>> >>> At the REPL, this works perfectly: >>> >>> > (defn get-users [] [:susan :kwan]) >>> > >>> > (d

Re: (resolve (symbol f)) works at the REPL but not in an uberjar

2017-10-12 Thread Justin Smith
l/" > f))) > > > On Thursday, October 12, 2017 at 9:27:06 PM UTC-4, lawrence...@gmail.com > wrote: >> >> At the REPL, this works perfectly: >> >> > (defn get-users [] [:susan :kwan]) >> > >> > (defn what-is-this-function [f] ((reso

Re: (resolve (symbol f)) works at the REPL but not in an uberjar

2017-10-12 Thread lawrence . krubner
Nevermind. I found that this works, though I think it is ugly and inelegant: resolved-f (resolve (symbol (str "denormalize.pull-from-mysql/" f))) On Thursday, October 12, 2017 at 9:27:06 PM UTC-4, lawrence...@gmail.com wrote: > > At the REPL, this works perfectly:

  1   2   3   4   5   6   7   8   9   10   >