From 4633941e08e19d574482c45f12b601c90ac47c41 Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Mon, 25 Apr 2022 19:22:44 -0400 Subject: [PATCH] Rename test scripts --- bar.ld | 5 ----- foo.ld | 5 +++++ hello.ld | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 bar.ld create mode 100644 foo.ld diff --git a/bar.ld b/bar.ld deleted file mode 100644 index 467a0be..0000000 --- a/bar.ld +++ /dev/null @@ -1,5 +0,0 @@ -ns Bar { - :foo :foo - :bar :bar - :baz "baz" -} \ No newline at end of file diff --git a/foo.ld b/foo.ld new file mode 100644 index 0000000..8280d16 --- /dev/null +++ b/foo.ld @@ -0,0 +1,5 @@ +ns Foo { + :foo :foo + :bar 42 + :baz "quux" +} \ No newline at end of file diff --git a/hello.ld b/hello.ld index 09737c5..f9b504c 100644 --- a/hello.ld +++ b/hello.ld @@ -1,7 +1,7 @@ -import "bar.ld" as Bar +import "bar.ld" as Bart -print ("Bar :foo should be :foo. It is ", Bar :foo) +print ("Bar :foo should be :foo. It is ", Bart :foo) -print ("But if I do something naughty, Ludus will panic") +print ("But if I do something naughty like accessing something that isn't in an ns, Ludus will panic") -panic! ("oops", :foo, 42) \ No newline at end of file +Bart :quux \ No newline at end of file