Giter VIP home page Giter VIP logo

clj-swingrepl's Introduction

clj-swingrepl

Swing Clojure REPL that uses BeanShell's JConsole component.

Build

Install

You can pull the joinr fork from clojars at:

Run

You can run lein swank and connect with SLIME via Emacs, or you can build a distributable jar with lein uberjar

To run, use something like java -jar swingrepl-standalone.jar

Updates (joinr fork Feb 2017)

clj-swingrepl now supports the ability to send code to the repl as if the user typed the code, effectively allowing "echoing" of output to repl.

  • org.dipert.swingrepl.main/send-repl
  • This provides a useful platform for embedding a live "repl" in your host application that you can send input to as if the user typed it.
  • Users can click on widgets, use buttons, etc. and see the corresponding clojure forms that are evaluated.

Todo

  • Completions for things available in the current namespace: JConsole has its own completions mechanism that might be hooked into
  • Bracket, parentheses, quote completion/matching/highlighting
  • Better as-library behavior: provide configurable automatic imports

Notes

  • A Clojure implementation of something like JConsole might be nice

Thanks

Many props to the BeanShell dude for making such a cool REPL.

Copyright 2012 Alan Dipert Distributed under the Eclipse Public License, the same as Clojure.

clj-swingrepl's People

Contributors

akhudek avatar alandipert avatar dakrone avatar ivan avatar phillord-ncl avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.