What is the minimal Emacs config for practical Clojure development?

2018-07-01 Thread Austin Haas
I don't want to use a package manager with Emacs.

Should I launch a REPL outside of Emacs, then connect to it? Using the CLI 
tools (i.e., from the command line: clojure -J-Dclojure.server.repl="{:port 
 :accept clojure.core.server/repl}")?

Can I launch a REPL from within Emacs?

I've been using inf-clojure and clojure-mode with the following elisp in my 
.emacs:

(add-to-list 'load-path "~/.emacs.d/site-lisp/third-party/clojure-mode/")
(require 'clojure-mode)
(add-to-list 'load-path "~/.emacs.d/site-lisp/third-party/inf-clojure/")
(load-file "~/.emacs.d/site-lisp/third-party/inf-clojure/inf-clojure.el")
(add-hook 'clojure-mode-hook #'inf-clojure-minor-mode)
(setf inf-clojure-lein-cmd "lein run -m clojure.main")

and C-c C-z to start a REPL, but I get noise in the REPL, including 
repeated prompts, and (seemingly) random linebreaks in large output.

What's the state of the art for a simple, practical Emacs setup for Clojure?

-- 
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.


[ANN] gradle-clojure 0.4.0 (adding ClojureScript support)

2018-07-01 Thread Andrew Oberstar
gradle-clojure  is a
Gradle plugin supporting Clojure and (now) ClojureScript development.

The 0.4.0 release adds support for ClojureScript compilation and Figwheel
Main.

For those not familiar with Gradle , it's a JVM-based
build tool that supports many JVM (and not) languages. It has a large
plugin ecosystem and is used by many companies with existing JVM codebases.

The goals of gradle-clojure are to:

- Allow existing users of Gradle to add Clojure into their environments
without switching build tools.
- Try to provide the creature comforts of Leiningen and Boot in Gradle.

Current features include:

- clojure.test execution (as part of Gradle's existing infrastructure)
- Clojure AOT compilation
- uberjar packaging
- ClojureScript compilation
- nREPL server (including Figwheel Main support)
- project templates (leveraging clj-new)

See our documentation  (which
is definitely in need of improvement) for details on how to use the plugin.
If you have further questions, visit the ClojureVerse gradle-clojure
category  or the #gradle
Clojurian's Slack channel .

Thanks to Colin Fleming for the initial code and Piotrek Bzdyl for his
contributions (most notably the first cut of this ClojureScript support)!

Andrew Oberstar

-- 
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: [ANN] greenlight 0.1.0 - a integration testing framework

2018-07-01 Thread Daniel Compton
Hi Jeff

This looks very cool. Can you describe a little bit more about how/where
you would use this vs. other kinds of Clojure testing frameworks? The
examples show tests all running within a single process, some using
Component to build up a system map. Do you also use this for inter-process
integration tests?

Thanks, Daniel.

On Mon, Jul 2, 2018 at 6:45 AM Jeff Stokes  wrote:

> Hi,
>
> We've just released a 0.1.0 of our testing framework greenlight
> . Greenlight provides an
> integration testing framework for systems to give you the confidence to
> greenlight your code to production. This is the first public release of
> this library.
>
> https://github.com/amperity/greenlight
>
> Thanks,
> Jeff
>
> --
> 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.


[ANN] CRNTL-iOS: Swift reader for Clojure

2018-07-01 Thread Edwin Watkeys
Hi again all,

I'm all packed and had some free time, so I built CRNTL-iOS, a Swift 
wrapper for CRNTL:

https://github.com/thunknyc/crntl-ios

Some sample code:

public func test_parse() {


let values = parse(string: "{:answer 42}")
for v in values {
print("Value: \(v)")
}
}


Output:

Value: DictionaryValue<[DictionaryEntryValue,IntValue<
42>>]>

MIT licensed. Enjoy.

-- 
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.


[ANN] greenlight 0.1.0 - a integration testing framework

2018-07-01 Thread Jeff Stokes
Hi,

We've just released a 0.1.0 of our testing framework greenlight 
. Greenlight provides an 
integration testing framework for systems to give you the confidence to 
greenlight your code to production. This is the first public release of 
this library.

https://github.com/amperity/greenlight

Thanks,
Jeff

-- 
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.


[ANN] Clojure Package for Apache MXNet - Contributors Welcome

2018-07-01 Thread Carin Meier
I'm delighted to share the news that the Clojure package for 
[MXNet](https://mxnet.apache.org/) has now joined the main Apache MXNet 
project. A big thank you to the efforts of everyone involved to make this 
possible. Having it as part of the main project is a great place for growth 
and collaboration that will benefit both MXNet and the Clojure community.

The Clojure package has been brought in as a contrib package 
https://github.com/apache/incubator-mxnet/tree/master/contrib/clojure-package. 
It is still very new and will go through a period of feedback, 
stabilization, and improvement before it graduates out of contrib.

We welcome contributors and people getting involved to make it better.

Are you interested in Deep Learning and Clojure? Great - Join us!

There are a few ways to get involved.

* Check out the current state of the Clojure package some contribution 
needs here 
https://cwiki.apache.org/confluence/display/MXNET/Clojure+Package+Contribution+Needs
* Join the Clojurian Slack #mxnet channel
* Join the [MXNet dev mailing 
list](https://lists.apache.org/list.html?d...@mxnet.apache.org) by sending 
an email to `dev-subscr...@mxnet.apache.org.`.
* Join the MXNET Slack channel - You have to join the MXNet dev mailing 
list first, but after that says you would like to join the slack and 
someone will add you.
* Join the [MXNet Discussion Forum](https://discuss.mxnet.io/)

Want to Learn More?

There are lots of examples in the package to check out, but a good place to 
start are the tutorials here - 
https://github.com/apache/incubator-mxnet/tree/master/contrib/clojure-package/examples/tutorial

Special thanks to people that provided testing. contributions, and feedback 
to make this possible

Chris Hodapp
IƱaki Arenaza & Magnet Coop
r0man
Ben Kamphaus
Sivaram Konanki
Rustam Gilaztdinov
Kamil Hryniewicz
Christian Weilbach
Burin Choomnuan
Avram Aelony
Jim Dunn
Kovas Boguta



-- 
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: [ANN] CRNTL: An ANSI C reader for Clojure/EDN content

2018-07-01 Thread Colin Fleming
That's really taking Friday afternoon commits to the next level!

On 30 June 2018 at 21:42, Edwin Watkeys  wrote:

> Hey all,
>
> Have you ever wanted to read Clojure or EDN without using Clojure(Script)?
> If so, feel free to check out CRNTL (C Reader for the Next Thousand Lisps)
> at:
>
> https://github.com/thunknyc/crntl
>
> CRNTL is a new project and is incomplete, but I hope some will find it
> useful as-is. I wrote it because it irked me that I was using PEG.js inside
> JavaScriptCore to parse the iOS-hosted Lisp we're developing. CRNTL is
> written in ANSI C, has no external dependencies, and is thread-safe i.e. it
> doesn't use any static variables. CRNTL is available under an MIT-style
> license.
>
> Pull requests and new issues are welcome. If you have questions or
> comments, please contact me directly for now; I am about to head out on a
> ~4,500mi (7,200km) motorcycle ride and won't be scanning posts here for a
> few weeks.
>
> Regards,
> Edwin
>
> --
> 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.