aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-15 01:25:24 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-15 01:25:24 +0100
commit16e22755767cbf6a11aa6699d0679ff73618d216 (patch)
tree03f34fc442b6885ff86ed2b4eae4ac9ff7bf6acf /src/main.c
downloadovm-16e22755767cbf6a11aa6699d0679ff73618d216.tar.gz
ovm-16e22755767cbf6a11aa6699d0679ff73618d216.tar.bz2
ovm-16e22755767cbf6a11aa6699d0679ff73618d216.zip
First commit!
This is a from the ground rework of an old project of the same name. I'm hoping to be more concerned with runtime efficiency, bytecode size and all those things that should actually matter for something that may host time/space critical code.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 0000000..34102f4
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,19 @@
+/* Copyright (C) 2023 Aryadev Chavali
+
+ * You may distribute and modify this code under the terms of the
+ * GPLv2 license. You should have received a copy of the GPLv2
+ * license with this file. If not, please write to:
+ * aryadev@aryadevchavali.com.
+
+ * Created: 2023-10-15
+ * Author: Aryadev Chavali
+ * Description: Entrypoint to program
+ */
+
+#include <stdio.h>
+
+int main(void)
+{
+ puts("Hello, world!");
+ return 0;
+}