gorilla-repl | A rich REPL for Clojure in the notebook style | Code Editor library
kandi X-RAY | gorilla-repl Summary
kandi X-RAY | gorilla-repl Summary
Gorilla is a rich REPL for Clojure in the notebook style. If you're interested you should take a look at its website.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gorilla-repl
gorilla-repl Key Features
gorilla-repl Examples and Code Snippets
Community Discussions
Trending Discussions on gorilla-repl
QUESTION
I am trying to embed LaTeX formulas inside Markdown cell in a locally running Gorilla worksheet. For example, the following Markdown text should render an inline formula and a standalone formula:
...ANSWER
Answered 2019-Feb-15 at 10:23With some help I have found the solution to this problem—I was using an outdated version of lein-gorilla
plugin. With version 0.5.3 LaTeX is rendered just fine[1]. The exact plugins line in project.clj
should be similar to
QUESTION
I play with this great Gorilla REPL powered project ( https://bitbucket.org/probprog/anglican-examples/ to be specific), and want to use it under certain restricted circumstances.
Is there a way to produce an uberjar that can be started using only a JVM?
Well, I know how to create an uberjar for this project, but can I start a Gorilla REPL from it? If not what do I have to add and how do I start it?
EDITED Note on Juraj's answer:
I added a start file src/gorillaproxy/gorillaproxy.clj with the following content:
...ANSWER
Answered 2018-Sep-20 at 09:31Gorilla is typically run via the lein-gorilla
plugin and thus isn't a part of an uberjar.
If you really want to create a bundle containing gorilla repl dependencies, then you need to add it this capability manually to your project.
The question is why would you want to do that. Do you want to distribute these samples to somebody else? If that's the case, you'll still need to have all those worksheets in the current directory from where your uberjar is run because that's how gorilla repl discovers worksheets.
You can look at lein-gorilla source code to see how gorilla repl can be started.
I'd then at the same code to your project (create new src/core.clj
file or whatever) and configure it in your project.clj
as :main
.
You'll also need to add gorilla-repl
as a dependency to your project.clj
Notice however, that you'll need to run that uberjar from a directory where your anglican worksheets are (or a parent directory of such a directory).
QUESTION
Linux Manjaro 17.1.11
OpenJDK 64-Bit Server VM (build 10.0.1+10, mixed mode)
Leiningen 2.8.1 on Java 10.0.1 OpenJDK 64-Bit Server VM
Starting a new project for testing gorilla-repl:
...ANSWER
Answered 2018-Jul-27 at 22:10Another option is to add [javax.xml.bind/jaxb-api "2.3.0"]
as a dependency.
However, similar to the :jvm-opts
the dependencies don't apply to plugins (like lein-gorilla
) since they are run separately.
You can either modify the original plugin and add jaxb-api to its dependencies (which I did in this PR: https://github.com/JonyEpsilon/lein-gorilla/pull/12) or you can "fake it" by adding jaxb-api to the :plugins
vector in your project.clj:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gorilla-repl
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page