https://github.com/lambdaprime/jeval
Command line Java code evaluator
https://github.com/lambdaprime/jeval
javashell
Last synced: 4 months ago
JSON representation
Command line Java code evaluator
- Host: GitHub
- URL: https://github.com/lambdaprime/jeval
- Owner: lambdaprime
- Created: 2017-06-25T17:24:09.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2025-05-06T05:35:14.000Z (about 1 year ago)
- Last Synced: 2025-10-04T09:55:32.614Z (9 months ago)
- Topics: javashell
- Language: Java
- Homepage:
- Size: 22.5 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-2.0.txt
Awesome Lists containing this project
README
**jeval** - command line Java code evaluator. It is based on [JShell](https://docs.oracle.com/en/java/javase/17/jshell/introduction-jshell.html) except it provides you additional functionality and better integration with the command-line. **jeval** allows you to declare dependencies in Java scripts to any libraries from Maven repository so that it will automatically resolve them and add to the script class path. See [examples](http://portal2.atwebpages.com/jeval/)
# Usage
```bash
jeval [ | -e | -i | -jshell ] [ARGS]
```
Where:
- JAVA_SCRIPT_FILE - Java script file to be executed
- JAVA_CODE_SNIPPET - Java expression
- ARGS - optional user arguments which will be available to you through the global variable "args: String[]" (same as you use in main() function).
# Download
[Release versions](jeval/release/CHANGELOG.md)
# Documentation
[Documentation](http://portal2.atwebpages.com/jeval/)
[Development](DEVELOPMENT.md)
# Contacts
lambdaprime