update README.md
This commit is contained in:
parent
8c67e04cc4
commit
13a09343e6
|
@ -1217,6 +1217,8 @@ And after that when creating new functions, they share the same upvalue, and the
|
||||||
|
|
||||||
## Benchmark
|
## Benchmark
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### version 6.5 (i5-8250U windows10 2021/6/19)
|
### version 6.5 (i5-8250U windows10 2021/6/19)
|
||||||
|
|
||||||
running time and gc time:
|
running time and gc time:
|
||||||
|
@ -1319,6 +1321,13 @@ running time:
|
||||||
|mandelbrot.nas|0.0156s||
|
|mandelbrot.nas|0.0156s||
|
||||||
|ascii-art.nas|0s||
|
|ascii-art.nas|0s||
|
||||||
|
|
||||||
|
`bf.nas` is a very interesting test file that there is a brainfuck interpreter written in nasal.
|
||||||
|
And we use this bf interpreter to draw a mandelbrot set.
|
||||||
|
|
||||||
|
In 2022/2/17 update we added `\e` into the lexer. And the `bfcolored.nas` uses this special ASCII code. Here is the result:
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## __Difference Between Andy's and This Interpreter__
|
## __Difference Between Andy's and This Interpreter__
|
||||||
|
|
||||||
### 1. must use `var` to define variables
|
### 1. must use `var` to define variables
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 111 KiB |
Loading…
Reference in New Issue