Skip to content

Commit 7cd4a97

Browse files
committed
add squirrel
1 parent 40c4e90 commit 7cd4a97

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

Squirrel/Readme.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Squirrel Hello World
2+
3+
Squirrel is a high level imperative, object-oriented programming language, designed to be a lightweight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games.
4+
5+
you can found squirrel [here](http://squirrel-lang.org/)
6+
7+
# run the program
8+
9+
you need to install squirrel first
10+
11+
```bash
12+
wget 'https://downloads.sourceforge.net/project/squirrel/squirrel3/squirrel%203.0.7%20stable/squirrel_3_0_7_stable.tar.gz'
13+
14+
tar xfz squirrel_3_0_7_stable.tar.gz
15+
16+
make -C SQUIRREL3
17+
18+
export PATH=$PATH:$(pwd)/SQUIRREL3/bin
19+
```
20+
21+
then run the program
22+
23+
```bash
24+
sq hello.nut
25+
```
26+

Squirrel/hello.nut

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("Hello World!\n");

0 commit comments

Comments
 (0)