ox

The Ox programming language, compiler and tools (WIP)
Log | Files | Refs | README | LICENSE

commit 9495b60a08733b7cebab422f321dac3213262544
parent d9f96b03635c2391947bcd1199f6a4f7576324e7
Author: citbl <citbl@citbl.org>
Date:   Wed, 22 Oct 2025 18:22:59 +1000

add comments to some tests

Diffstat:
Mex10.ox | 1+
Mex11.ox | 4+++-
Mex12.ox | 2++
Mex2.ox | 1+
Mex9.ox | 2++
5 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ex10.ox b/ex10.ox @@ -1,3 +1,4 @@ +// print after print void main() { print("This is a test"); print(""); diff --git a/ex11.ox b/ex11.ox @@ -1,5 +1,7 @@ +// variable reassignment to ident after declarations + void main() { - string harry = "Petulia"; + string harry = "Harry is Barry."; string barry = harry; print(barry); } diff --git a/ex12.ox b/ex12.ox @@ -1,3 +1,5 @@ +// variable reassignment to literal after declaration + void main() { string jake = "before change"; jake = "expected result"; diff --git a/ex2.ox b/ex2.ox @@ -1,3 +1,4 @@ +// test var decl and print void main() { string steve = "His name is Steeeve"; string harry = "His name is Harry"; diff --git a/ex9.ox b/ex9.ox @@ -1,3 +1,5 @@ +// test multiple functions decl and variables decl. + int jack = 111; void test() {