Skip to content

davight/Denizen-REPL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Denizen-REPL

A standalone interactive REPL (Read Evalueate Print Loop) for the DenizenScript scripting language, built with Java 21, DenizenCore, and JLine3.


Features

  • Instant tag evaluation - lines starting with < are auto-prefixed with debug, so expressions like <element[5].add[3]> print their result right away.
  • Multiline input - press ESC + Enter to continue input on a new line before submitting.
  • Tab completion - completes command names, tag bases (<...), and definition references (<[...]>).
  • Auto-close - typing <, [, ", or { automatically inserts the matching closing character; backspace removes both sides.
  • Formatting - proper tag and command syntax highlighting

Commands

Command Description
help Show basic usage tips
help commands List all registered commands with syntax
exit Exit the REPL

Requirements

  • Java 21+
  • Maven 3.6+ (for building from source)

Running

mvn exec:java

Or with the pre-built JAR:

java -jar target/Denizen-REPL.jar

Build

Full JAR (includes all dependencies):

mvn package

Output: target/Denizen-REPL.jar

About

DenizenCore CLI impl

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages