From 6dc95c412f7f7cd6758b05d53274969b3b88a2e4 Mon Sep 17 00:00:00 2001 From: uditdey Date: Tue, 1 Sep 2026 18:13:24 +0000 Subject: [PATCH] Initial commit --- .gitmodules | 3 +++ compiler/Cargo.toml | 6 ++++++ compiler/src/main.rs | 3 +++ third_party/quickjs | 1 + 4 files changed, 13 insertions(+) create mode 100644 .gitmodules create mode 100644 compiler/Cargo.toml create mode 100644 compiler/src/main.rs create mode 160000 third_party/quickjs diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d1c4023 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "third_party/quickjs"] + path = third_party/quickjs + url = https://github.com/quickjs-ng/quickjs.git diff --git a/compiler/Cargo.toml b/compiler/Cargo.toml new file mode 100644 index 0000000..1170539 --- /dev/null +++ b/compiler/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "compiler" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/compiler/src/main.rs b/compiler/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/compiler/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/third_party/quickjs b/third_party/quickjs new file mode 160000 index 0000000..1ab8676 --- /dev/null +++ b/third_party/quickjs @@ -0,0 +1 @@ +Subproject commit 1ab8676f4b6d6d669baeb5f21790fb9734636a20