The Jaunch repository includes several demo applications powered by Jaunch:
-
Parsy - A simple console for evaluating expressions, backed by the Parsington library.
-
Jy - An entry point into the Jython console.
-
REPL - A dual-platform app capable of launching both the Python REPL and Java's JShell, depending on which flag you pass at launch.
-
Paunch - An entry point into the Python REPL, which on macOS launches Python in a separate thread while running the CoreFoundation event loop on the main thread of the process. One advantage of this approach is that foreign graphical subsystems such as Java's Abstract Windowing Toolkit (AWT) can be used (via libraries like JPype) in the same process as Python without blocking the REPL.
-
Hello - A simple GUI app displaying a "Hello World" dialog box using Java Swing.
-
Hi - An even simpler Java app, which simply prints "Hello world" to the console.
-
Hiss - A simple Python app, which prints a custom greeting based on its arguments.
To assemble the demo apps:
- Follow the instructions in BUILD.md to build Jaunch from source.
- Run the
bin/demo.sh
script to construct the demo apps from the built code. - Alternately, do both steps (1) and (2) at once using the
make demo
target.
All of the demo applications will then exist in a new demo
folder.