moved examples to examples folder

This commit is contained in:
CPunch 2020-11-13 17:50:55 -06:00
parent 928b01f52c
commit 4ff1e59042
6 changed files with 1 additions and 8 deletions

View File

@ -4,4 +4,4 @@ Cosmo is a portable scripting language loosely based off of Lua. Designed for em
# Why Cosmo? # 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. 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. 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.

View File

@ -1,7 +0,0 @@
def fib(i):
if i < 2:
return i
return fib(i - 2) + fib(i - 1)
print(fib(35))