Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.09 KB

EXAMPLES.md

File metadata and controls

28 lines (21 loc) · 1.09 KB

Example apps

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 application displaying a "Hello World" dialog box using Java Swing.

To try them out, build from source, then run the make app target, which assembles an app folder containing everything you need.