SkillAgentSearch skills...

Jvmrr

A toy Java VM in R

Install / Use

/learn @igjit/Jvmrr
About this skill

Quality Score

0/100

Supported Platforms

Universal

Tags

README

<!-- README.md is generated from README.Rmd. Please edit that file -->

jvmrr

<!-- badges: start -->

Travis build
status Codecov test
coverage

<!-- badges: end -->

jvmrr is a toy Java VM written in R.

Installation

You can install the development version of jvmrr from GitHub with:

# install.packages("remotes")
remotes::install_github("igjit/jvmrr")

How to play

library(jvmrr)

jvmrr_example()
#> [1] "Arith.class"    "FizzBuzz.class" "Hello.class"
class_file <- jvmrr_example("FizzBuzz.class")
java_class <- read_class(class_file)
java_class %>% head(3)
#> $magic
#> [1] ca fe ba be
#> 
#> $minor_version
#> [1] 0
#> 
#> $major_version
#> [1] 55
java_class %>% execute()
#> 1
#> 2
#> Fizz
#> 4
#> Buzz
#> Fizz
#> 7
#> 8
#> Fizz
#> Buzz
#> 11
#> Fizz
#> 13
#> 14
#> FizzBuzz
#> 16
#> 17
#> Fizz
#> 19
#> Buzz

Related Skills

View on GitHub
GitHub Stars17
CategoryDevelopment
Updated3mo ago
Forks1

Languages

R

Security Score

67/100

Audited on Dec 26, 2025

No findings