Skip to content

Commit

Permalink
Squirrel
Browse files Browse the repository at this point in the history
  • Loading branch information
ghluka committed Mar 31, 2024
1 parent 277c805 commit 718f473
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Excerpt from [Wikipedia](https://en.wikipedia.org/wiki/Fibonacci_sequence):

We welcome contributions, to see our rules and guidelines on contributing please read [CONTRIBUTING.md](CONTRIBUTING.md)

# 🌐 Languages <!-- Languages start -->[65 total]
# 🌐 Languages <!-- Languages start -->[66 total]

- [05AB1E](./src/%23/05AB1E)
- [Ada](./src/A/Ada)
Expand Down Expand Up @@ -77,6 +77,7 @@ We welcome contributions, to see our rules and guidelines on contributing please
- [Scala](./src/S/Scala)
- [Scratch](./src/S/Scratch)
- [Smalltalk](./src/S/Smalltalk)
- [Squirrel](./src/S/Squirrel)
- [Swift](./src/S/Swift)
- [Turing](./src/T/Turing)
- [TypeScript](./src/T/TypeScript)
Expand Down
7 changes: 7 additions & 0 deletions src/S/Squirrel/fibonacci.nut
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
local a = 0;
local b = 1;
for (local _ = 0; _ < 10; _ += 1) {
print(a + "\n");
b += a
a = b - a
}

0 comments on commit 718f473

Please sign in to comment.