KO
|
EN
gitlite — search
Search
#python
#java
#dsh-plugin
#ai-agents
#deepseek-harness
#game
#ai
#typescript
#c
#android
#c-plus-plus
#demo
interactive-syntax-clojure
★ 44
Open GitHub ↗
No description available.
Download README (.md)
Explore Similar Repositories
quic-lb
:
nginx-quic-lb is an implementation of ietf-quic-lb, based on nginx-release-1.18.0, you can see the detailed code in this pull request
full-address-column
:
Thunderbird add-on to show full sender and recipient address column in message list
streamlit-light-leaflet
:
Streamlit quick & dirty Leaflet component that sends back coordinates on map click
labeler-action
:
GitHub Action allowing for applying labels to issues and pull requests based on patterns found in the title or description.
classical-domains
:
No description available.
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
interactive-syntax-clojure
?
Download (.md)
# Visual and Interactive Syntax realized (VISr) for ClojureScript This is a very early prototype of [Visual and Interactive Syntax][visr] for ClojureScript. Feel free to look around, but things will change and others will be broken. ## Live Tool (Prototype) To run VISr for ClojureScript, you only need a browser. We currently provide an early prototype at: [visr.pl][visrpl] Proper documentation coming soon. For now, you can create a visr with: ``` (defvisr VisrName (elaborate [this] 42) (render [this] [:button "hello"])) ``` Additionally, build in support is provided for: * [reagent](https://reagent-project.github.io/) * [garden](https://github.com/noprompt/garden) * [react-bootstrap](https://react-bootstrap.github.io/) And a list of additional dependencies can be found [on this github page][visrshop]. Proper documentation on how to create new dependencies to come. ## Build Requirements Building VISr require both [NPM][npm] and [Clojure][clojure]. You can either obtain them yourself, or use [Nix][nix] to download them for you. ### Automatically Install Dependencies with Nix (Mac/Linux Only) > Note: If you don't have it yet, you'll need the [Nix][nix] build tool. You can > install it with: > > ``` > curl -L https://nixos.org/nix/install | sh > ``` Simply `cd` into the project directory and run: ``` nix-shell ``` You should now be in a shell environment with both NPM and Clojure. ### Manually Install Dependencies 1. First, download [Java][java] and [Clojure][clojure] for your operating system. 2. Next, download [Node.js][npm] for your operating system, it comes with [NPM][npm]. 3. Finally, `cd` into the project folder and run `npm ci`. You should now be ready to build VISr for ClojureScript. ## Build & Test VISr ### Development mode To start the Figwheel compiler, navigate to the project folder and run the following command in the terminal: ``` clojure -M:fig ``` Figwheel will automatically push cljs changes to the browser. Once Figwheel starts up, you should be able to open `localhost:9500` in the browser. Once the page is open, a REPL should be usable from your terminal. ### Tests With a development build running, open `localhost:9500/figwheel-extra-main/auto-testing` in the browser. ### Building for production ``` clojure -M:package ``` Then go get a coffee, a production build seems to take about 5 minutes. [visr]: https://dl.acm.org/doi/10.1145/3428290 [nodejs]: https://nodejs.org/en/ [npm]: https://www.npmjs.com/ [java]: https://www.java.com/en/ [clojure]: https://clojure.org/ [nix]: https://nixos.org/ [visrpl]: https://visr.pl [visrshop]: https://github.com/LeifAndersen/visr-deps/