Skip to content

About

Symja running in CheerpJ environment

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

SymjaCheerpJ

Join our Discord

The SymjaRepl supports the usage of the Symja Computer Algebra library in a CheerpJ (version > 4.1) browser environment.

Currently the nightly builds (>= 20250907_2731) https://cjrtnc.leaningtech.com/20250907_2731/loader.js fixes some important bugs.

Getting started

  • Clone the corresponding SymjaRepl repository repository and build the SymjaREPL JAR using Maven.
  • Open a terminal in the SymjaREPL directory.
  • Run the following Maven command to clean and package the project:
mvn clean package verify

This process will:

  • Compile the source code.
  • Resolve all dependencies.
  • Use the Maven Shade Plugin to package a self-contained JAR (SymjaREPL-3.1.0-SNAPSHOT-shaded.jar) in the /target directory. This JAR contains all dependencies.
  • Use the Proguard Shade Plugin to create a minimized, self-contained JAR (SymjaREPL-3.1.0-SNAPSHOT-obfuscated.jar) in the /target directory. This JAR is optimized for size.

Prepare the JAR for the web environment:

  • Now clone the SymjaCheerpJ repository to a new folder on your local file system.
  • Copy the generated JAR from SymjaREPL/target/SymjaREPL-3.1.0-SNAPSHOT-obfuscated.jar to SymjaCheerpJ/SymjaREPL-3.1.0-SNAPSHOT-obfuscated.jar in your project root folder.
  • Serve the folder via HTTP
  • Use a simple HTTP server, for example:
npx http-server -p 8080

Open your browser at:

http://localhost:8080/index.html

Note: Opening the web page directly from the disk (for example, by double-clicking on it) is not supported.

About

Symja running in CheerpJ environment

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages