A set of Rascal transformations for helping developers to migrate traditional java threads to Loom API virtual threads.
- Python 3
- Java 19+
- Clone this repository
- Change to the Loomizer folder (
cd Loomizer) - Download the Rascal shell (
wget https://update.rascal-mpl.org/console/rascal-shell-stable.jar) - Change the root directory path (Sometimes, if your java application does not have "src" folder, you need to remove "and os.path.basename(filename) == "src"" in line 24 in
driver.pyand change the recursive property in glob() function accordingly) - Execute the
driver.pyscript:
$ python3 driver.py