Skip to end of metadata
Go to start of metadata

MVEL is on irc.FreeNode.net on: #mvel

Questions, feedback, etc. welcome.

Labels:
  1. Apr 22, 2010

    Nice work! Simple and very useful language.

    For a better experience with the mvel shell, try running it via the JLine ConsoleRunner (http://jline.sourceforge.net). Here is a simple script that starts the shell via the JLine ConsoleRunner:

    -------
    #!/bin/bash

    1. Runs mvel shell with jLine and using the classpath specified in the `.mvel` file of the
    2. current directory.
      BIN_DIR=/usr/local/bin
      JAVA=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java

    JLINE=$BIN_DIR/jline-0_9_5.jar
    MVEL=$BIN_DIR/mvel2-2.0.17.jar
    CP=$PWD:$MVEL:$JLINE

    1. Add extra jars as specified by `.mvel` file
      if [ -f .mvel ]
      then
      CP=$CP:`cat .clojure`
      fi

    $JAVA -server -cp $CP jline.ConsoleRunner org.mvel2.sh.Main

    -------
    Thanks,
    Roumen