Skip to content

Commit

Permalink
Roll 0.6.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ten0s committed Feb 11, 2022
1 parent 455ed33 commit 6effc65
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#### Linux

```
$ wget https://github.com/ten0s/velisp/releases/download/0.6.9/velisp-0.6.9-linux-x64
$ chmod +x velisp-0.6.9-linux-x64
$ wget https://github.com/ten0s/velisp/releases/download/0.6.10/velisp-0.6.10-linux-x64
$ chmod +x velisp-0.6.10-linux-x64
```

#### Windows
Expand All @@ -22,8 +22,8 @@ TODO
### Run REPL (Read–Eval–Print Loop)

```
$ ./velisp-0.6.9-linux-x64
VeLisp 0.6.9 on linux
$ ./velisp-0.6.10-linux-x64
VeLisp 0.6.10 on linux
Type ".help" for more information
> (+ 1 2)
3
Expand All @@ -41,61 +41,61 @@ ADD
Calculate 10th (default) Fibonacci number

```
$ ./velisp-0.6.9-linux-x64 examples/fib.lsp
$ ./velisp-0.6.10-linux-x64 examples/fib.lsp
55
```

Calculate 11th Fibonacci number

```
$ ./velisp-0.6.9-linux-x64 examples/fib.lsp 11
$ ./velisp-0.6.10-linux-x64 examples/fib.lsp 11
89
```

Run Calculator

```
$ ./velisp-0.6.9-linux-x64 examples/calc.lsp
$ ./velisp-0.6.10-linux-x64 examples/calc.lsp
```

![App Calc Image](/images/app-calc.png)

Run Minesweeper

```
$ ./velisp-0.6.9-linux-x64 examples/mines.lsp
$ ./velisp-0.6.10-linux-x64 examples/mines.lsp
```

![App Mines Image](/images/app-mines.png)

Run Fifteen Puzzle

```
$ ./velisp-0.6.9-linux-x64 examples/fifteen.lsp
$ ./velisp-0.6.10-linux-x64 examples/fifteen.lsp
```

![App Fifteen Image](/images/app-fifteen.png)

### Run code from standard input

```
$ cat examples/fib.lsp | ./velisp-0.6.9-linux-x64
$ cat examples/fib.lsp | ./velisp-0.6.10-linux-x64
55
```

```
$ cat examples/fib.lsp | ./velisp-0.6.9-linux-x64 -- 11
$ cat examples/fib.lsp | ./velisp-0.6.10-linux-x64 -- 11
89
```

```
$ echo '(alert "Hello from VeLisp!")' | ./velisp-0.6.9-linux-x64
$ echo '(alert "Hello from VeLisp!")' | ./velisp-0.6.10-linux-x64
```

![Alert Hello From VeLisp Image](/images/alert-hello-velisp.png)

```
$ echo '(alert (strcat "Hello from " (nth 1 (argv)) "!"))' | ./velisp-0.6.9-linux-x64 -- Arg
$ echo '(alert (strcat "Hello from " (nth 1 (argv)) "!"))' | ./velisp-0.6.10-linux-x64 -- Arg
```

![Alert Hello From Arg Image](/images/alert-hello-arg.png)
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "VeLisp",
"version": "0.6.9",
"version": "0.6.10",
"description": "AutoLISP / DCL compatible interpreter to run AutoCAD independent code",
"main": "src/main.js",
"scripts": {
Expand Down

0 comments on commit 6effc65

Please sign in to comment.