aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralyx <alyx@aleteoryx.me>2024-01-23 14:05:13 -0500
committeralyx <alyx@aleteoryx.me>2024-01-23 14:05:13 -0500
commit829d4ebb3c894fe2c8a49bff9d658ecac9f64de0 (patch)
treeeb5c74b5b0b83cd555eab7f80be25a84c1c3bb2b
parent0232d607c48c85e1a104393f91254801734edf1c (diff)
downloadomnihello-master.tar.gz
omnihello-master.tar.bz2
omnihello-master.zip
JS,PHP,PY,RSHEADmaster
-rw-r--r--JavaScript/hello.js1
-rw-r--r--JavaScript/run.toml1
-rw-r--r--PHP/hello.php1
-rw-r--r--PHP/run.toml1
-rw-r--r--Python/hello.py1
-rw-r--r--Python/run.toml1
-rw-r--r--Rust/hello.rs3
-rw-r--r--Rust/run.toml1
8 files changed, 10 insertions, 0 deletions
diff --git a/JavaScript/hello.js b/JavaScript/hello.js
new file mode 100644
index 0000000..422c89e
--- /dev/null
+++ b/JavaScript/hello.js
@@ -0,0 +1 @@
+console.log("Hello, World!")
diff --git a/JavaScript/run.toml b/JavaScript/run.toml
new file mode 100644
index 0000000..1326e27
--- /dev/null
+++ b/JavaScript/run.toml
@@ -0,0 +1 @@
+hello="node hello.js"
diff --git a/PHP/hello.php b/PHP/hello.php
new file mode 100644
index 0000000..35245df
--- /dev/null
+++ b/PHP/hello.php
@@ -0,0 +1 @@
+<?php echo "Hello, World!\n"; ?>
diff --git a/PHP/run.toml b/PHP/run.toml
new file mode 100644
index 0000000..67d92e2
--- /dev/null
+++ b/PHP/run.toml
@@ -0,0 +1 @@
+hello="php hello.php"
diff --git a/Python/hello.py b/Python/hello.py
new file mode 100644
index 0000000..7df869a
--- /dev/null
+++ b/Python/hello.py
@@ -0,0 +1 @@
+print("Hello, World!")
diff --git a/Python/run.toml b/Python/run.toml
new file mode 100644
index 0000000..b867beb
--- /dev/null
+++ b/Python/run.toml
@@ -0,0 +1 @@
+hello="python hello.py"
diff --git a/Rust/hello.rs b/Rust/hello.rs
new file mode 100644
index 0000000..21e1c4e
--- /dev/null
+++ b/Rust/hello.rs
@@ -0,0 +1,3 @@
+fn main() {
+ println!("Hello, World!");
+}
diff --git a/Rust/run.toml b/Rust/run.toml
new file mode 100644
index 0000000..614d824
--- /dev/null
+++ b/Rust/run.toml
@@ -0,0 +1 @@
+hello="rustc hello.rs -o hello; ./hello"