For the complete documentation index, see llms.txt. This page is also available as Markdown.

Code Execution Playground

This system integrates the JDoodle API so you can run multiple programming languages directly in HKTRPG.

Supported Languages and Usage

1️⃣ javascript .code js console.log("Hello JS");

2️⃣ typescript .code ts const n:number = 7; console.log(n);

3️⃣ python .code py print("Hello Python")

4️⃣ java .code java System.out.println("Hello Java");

5️⃣ c

.code c
#include <stdio.h>
int main() {
printf("Hello C\n");
return 0;
}

6️⃣ c++

.code cpp
#include <iostream>
int main() {
std::cout << "Hello C++" << std::endl;
return 0;
}

7️⃣ go .code go package main; import "fmt"; func main(){fmt.Println("Hello Go")}

8️⃣ rust

.code rs fn main(){println!("Hello Rust");}

9️⃣ php

.code php <?php echo "Hello PHP\n";

🔟 ruby

.code rb puts "Hello Ruby"

Last updated