GithubHelp home page GithubHelp logo

topherizer's Introduction

Build Status

topherizer

screen grab

Topherizer is a Java console application for generating the max.java.config.txt file, which Max's Java users have, for the last eight years, been painstakingly editing by hand. Topherizer allows the configuration to be written in Clojure, with a cleaner structure, conditional "statements" and some shortcut functions.

Main wins:

  • Splits sets of JAR files into separate collections, each with its own declaration
  • Allows different sets of declarations to be included, or excluded, by means of conditional tests
  • Allows groups of similar declarations to be grouped with a common prefix, rather than duplicating large sections of the text
  • Supports arbitrary pre-processing on its input: use flags to move declarations between the system and dynamic class loaders, verify that JAR files exist, and so on

(It is arguable whether, at first glance, Clojure is an improvement as an input format. Editing Clojure in a conventional text editor is a fiddly procedure, but there are editors like Emacs (with Sam Aaron's emacs-live) which make the procedure much more efficient.)

Usage

Download the standalone "uberjar" from the downloads page. Run it on the command line with

java -jar topherizer-1.0.0-standalone.jar [input] [output]

where input is the input (Clojure) file and output is max.java.config.txt, presumably in the Cycling '74/java directory. (Back up the old one first!)

As a shortcut, if a single argument is provided, as in

java -jar topherizer-1.0.0-standalone.jar [file]

then the output file is named after the input file, but with any extension removed and replaced by .txt.

Tutorial

For the actual Clojure markup used as input, see the tutorial.

Building

Topherizer is a conventional Leiningen project; all dependencies are downloaded and linked in the conventional manner.

License

Copyright © 2012 Nick Rothwell

Distributed under the Eclipse Public License, the same as Clojure.

topherizer's People

Contributors

cassiel avatar rothmichaels 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.