bashj is a bash mutant with java support.
It gives to bash scripts the ability to use java libraries, functions and code.
The detailed documentation (installation, examples, syntax...) is available at this wiki page : http://fil.gonze.org/wikiPG/index.php/Project_bashj_:_a_bash_mutant_with_java_support .

To bash developers, bashj brings

. Readability in the java section (OO style)
. JVM efficiency for CPU intensive components
. modular extensibility using java packages
. floating point (double) values variable and evaluation functions
. Math tools
. Swing UI tools
. Inter process tools between multiple bash process (and java process)
. Host registry
...

Basic examples:

#!/usr/bin/bashj
echo Math.cos(0.5)
echo Math.hypot(3.0,4.0)
echo System.getProperty("java.runtime.version")

#!/usr/bin/bashj
#!java
public static int factorial(int n)
{if (n<=0) return(0);
if (n==1) return(1);
return(n*factorial(n-1));}
#!bashj
echo j.factorial(10)

Features

  • java shell
  • java
  • bash
  • script
  • java reflection
  • java introspection
  • java interpreter
  • interpreter

Project Samples

Project Activity

See All Activity >

Follow bashj : a bash mutant with java support

bashj : a bash mutant with java support Web Site

Other Useful Business Software
Get Avast Free Antivirus | Your top-rated shield against malware and online scams Icon
Get Avast Free Antivirus | Your top-rated shield against malware and online scams

Boost your PC's defense against cyberthreats and web-based scams.

Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
Free Download
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5

User Reviews

  • Very interesting perspective
Read more reviews >

Additional Project Details

Registered

2018-06-11