From d57456d7b0ea175254ea072dd80973f68f4e0e36 Mon Sep 17 00:00:00 2001 From: zongor Date: Sun, 27 Jul 2025 22:30:23 -0400 Subject: [PATCH] rename --- docs/project-syntax-example/common.zrl | 12 ++++++------ test/{add.zre => add.zrl} | 0 test/{fib.zre => fib.zrl} | 0 test/{loop.zre => loop.zrl} | 0 test/{simple.zre => simple.zrl} | 0 5 files changed, 6 insertions(+), 6 deletions(-) rename test/{add.zre => add.zrl} (100%) rename test/{fib.zre => fib.zrl} (100%) rename test/{loop.zre => loop.zrl} (100%) rename test/{simple.zre => simple.zrl} (100%) diff --git a/docs/project-syntax-example/common.zrl b/docs/project-syntax-example/common.zrl index 92a7a9e..f170471 100644 --- a/docs/project-syntax-example/common.zrl +++ b/docs/project-syntax-example/common.zrl @@ -1,11 +1,11 @@ -!! +! ! Note that these look like classes but act like structs ! the methods actually have a implied struct as their first argument -!! +! -!! +! ! Camera . -!! +! type Camera { init(real[3] pos, real[3] look) { this.setting = "CAMERA_PERSPECTIVE"; @@ -16,9 +16,9 @@ type Camera { } } -!! +! ! Player . -!! +! type Player { init(str username, real[3] pos, Color color) { this.server = Client("tcp://localhost:25565"); diff --git a/test/add.zre b/test/add.zrl similarity index 100% rename from test/add.zre rename to test/add.zrl diff --git a/test/fib.zre b/test/fib.zrl similarity index 100% rename from test/fib.zre rename to test/fib.zrl diff --git a/test/loop.zre b/test/loop.zrl similarity index 100% rename from test/loop.zre rename to test/loop.zrl diff --git a/test/simple.zre b/test/simple.zrl similarity index 100% rename from test/simple.zre rename to test/simple.zrl