From 4ff1e5904259377113f255004260ea78970a74be Mon Sep 17 00:00:00 2001 From: CPunch Date: Fri, 13 Nov 2020 17:50:55 -0600 Subject: [PATCH] moved examples to examples folder --- README.md | 2 +- fortest.lua => examples/fortest.lua | 0 newtest.cosmo => examples/newtest.cosmo | 0 test.cosmo => examples/test.cosmo | 0 test.lua => examples/test.lua | 0 test.py | 7 ------- 6 files changed, 1 insertion(+), 8 deletions(-) rename fortest.lua => examples/fortest.lua (100%) rename newtest.cosmo => examples/newtest.cosmo (100%) rename test.cosmo => examples/test.cosmo (100%) rename test.lua => examples/test.lua (100%) delete mode 100644 test.py diff --git a/README.md b/README.md index 3861c90..fb0d3ff 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ Cosmo is a portable scripting language loosely based off of Lua. Designed for em # Why Cosmo? While C++ wrappers for Lua exist (see: SolLua), they're all maintained by outside entitties while Cosmo writes it's own first party wrapper. Additionally, Cosmo is very easily modifiable having been written in clean C99 with well documented code; this makes it a great candidate for early language hackers and researchers alike. -However Cosmo is not just a friendly developer tool, Cosmo's easy syntax and readability makes it a great scripting language for everyone to use. \ No newline at end of file +However Cosmo is not just a friendly developer tool, Cosmo's easy syntax and readability makes it a great scripting language for anyone to use. \ No newline at end of file diff --git a/fortest.lua b/examples/fortest.lua similarity index 100% rename from fortest.lua rename to examples/fortest.lua diff --git a/newtest.cosmo b/examples/newtest.cosmo similarity index 100% rename from newtest.cosmo rename to examples/newtest.cosmo diff --git a/test.cosmo b/examples/test.cosmo similarity index 100% rename from test.cosmo rename to examples/test.cosmo diff --git a/test.lua b/examples/test.lua similarity index 100% rename from test.lua rename to examples/test.lua diff --git a/test.py b/test.py deleted file mode 100644 index 6491ca2..0000000 --- a/test.py +++ /dev/null @@ -1,7 +0,0 @@ -def fib(i): - if i < 2: - return i - - return fib(i - 2) + fib(i - 1) - -print(fib(35)) \ No newline at end of file