https://github.com/axkr/symjacheerpj
Symja running in CheerpJ environment
https://github.com/axkr/symjacheerpj
computer-algebra-system mathematica
Last synced: 4 months ago
JSON representation
Symja running in CheerpJ environment
- Host: GitHub
- URL: https://github.com/axkr/symjacheerpj
- Owner: axkr
- Created: 2025-04-26T20:36:54.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2026-01-30T00:17:13.000Z (4 months ago)
- Last Synced: 2026-02-02T01:38:48.395Z (4 months ago)
- Topics: computer-algebra-system, mathematica
- Language: HTML
- Homepage: http://matheclipse.org/app/index.html
- Size: 140 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# SymjaCheerpJ
[](https://discord.gg/tYknzr2qam)
The `SymjaRepl` supports the usage of the [Symja Computer Algebra library](https://github.com/axkr/symja_android_library) in a [CheerpJ (version > 4.1)](https://cheerpj.com) 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](https://github.com/axkr/SymjaRepl) 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.