Code Monkey home page Code Monkey logo

clojure-tmbundle's Introduction

The Clojure Textmate Bundle. Version 0.1 (released November 9, 2008)

Prerequisites

The Clojure bundle depends on the following external utilities to work:

  ruby
  screen
  osascript

If either of those aren't on your Textmate's PATH, these commands will fail in unknown and spectacular fashion.

Installation

  • Run this:
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/nullstyle/clojure-tmbundle.git Clojure.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'

Using the bundle

Note: the Clojure bundle currently only works with textmate projects... one-off files will fail.

This bundle spawns a Clojure REPL (unique to each TextMate project) in the background (using screen), which then receives commands from textmate, and returns the evaluated forms.

Apple-R will run the top-level expression which the caret is currently on. If a selection is set, every top-level expression that intersects with the selection will be passed to the repl

Apple-Shift-R will run the entire file in the REPL

Apple-Option-R will open a terminal and connect to the screen instance running the current project's REPL

Bundled Clojure

To less the setup curve, I bundle the following items to provide a self-contained and featureful Clojure environment:

clojure.jar (v1086)
clojure-contrib.jar (v233)
jline (for readline support)
jna
clj  (ruby script to help launch Clojure)

In a future revision, I plan to allow customization/updates to this environment.

Support


Major Contributions

  • Scott Fleckenstein - Started it.

clojure-tmbundle's People

Contributors

nullstyle avatar

Stargazers

Christof D. avatar

Watchers

Christof D. avatar James Cloos 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.