From f902566d318df37aa99a7309dcaebbf01cca02c8 Mon Sep 17 00:00:00 2001 From: Chathura Jayasinghe <124045901+Chathura-Jayasinghe@users.noreply.github.com> Date: Thu, 26 Dec 2024 18:57:01 +0530 Subject: [PATCH] Create jac file --- jac file | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 jac file diff --git a/jac file b/jac file new file mode 100644 index 0000000..7bc70e2 --- /dev/null +++ b/jac file @@ -0,0 +1,13 @@ +Challenge project - Build a minigame console app with GitHub Copilot +node MyNode { + has value: int = 0; +} + +with entry { + root ++> (x:=MyNode()); + obj_id = jid(x); + myobj = &obj_id; + print(obj_id); + print(myobj); + print("valid:", myobj == x); +}