From d9d843c969ac17ede98ea6094455e42687af906d Mon Sep 17 00:00:00 2001 From: CatDevz Date: Mon, 11 Sep 2023 15:55:47 -0500 Subject: Added parsing for pointers & made LLVM a feature --- examples/pointer.sloth | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 examples/pointer.sloth (limited to 'examples') diff --git a/examples/pointer.sloth b/examples/pointer.sloth new file mode 100644 index 0000000..7d7ca10 --- /dev/null +++ b/examples/pointer.sloth @@ -0,0 +1,5 @@ +fn main() Int { + val x: Int = 0; + val xPtr: Int = *x; + val x: Int = @xPtr; +} \ No newline at end of file -- cgit v1.2.3