📝 update documents
This commit is contained in:
parent
5174551aa1
commit
2f58a7c223
|
@ -4,7 +4,7 @@
|
|||
|
||||
![GitHub code size](https://img.shields.io/github/languages/code-size/ValKmjolnir/Nasal-Interpreter?style=flat-square&logo=github)
|
||||
![GitHub release(latest by date)](https://img.shields.io/github/v/release/ValKmjolnir/Nasal-Interpreter?style=flat-square&logo=github)
|
||||
![in dev](https://img.shields.io/badge/dev-v11.1-blue?style=flat-square&logo=github)
|
||||
![in dev](https://img.shields.io/badge/dev-v11.2-blue?style=flat-square&logo=github)
|
||||
[![license](https://img.shields.io/badge/license-GPLv2-green?style=flat-square&logo=github)](./LICENSE)
|
||||
|
||||
> This document is also available in: [__中文__](./doc/README_zh.md) | [__English__](./README.md)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
![GitHub code size](https://img.shields.io/github/languages/code-size/ValKmjolnir/Nasal-Interpreter?style=flat-square&logo=github)
|
||||
![GitHub release(latest by date)](https://img.shields.io/github/v/release/ValKmjolnir/Nasal-Interpreter?style=flat-square&logo=github)
|
||||
![in dev](https://img.shields.io/badge/dev-v11.1-blue?style=flat-square&logo=github)
|
||||
![in dev](https://img.shields.io/badge/dev-v11.2-blue?style=flat-square&logo=github)
|
||||
[![license](https://img.shields.io/badge/license-GPLv2-green?style=flat-square&logo=github)](../LICENSE)
|
||||
|
||||
> 这篇文档包含多语言版本: [__中文__](../doc/README_zh.md) | [__English__](../README.md)
|
||||
|
|
11
doc/dev.md
11
doc/dev.md
|
@ -1,5 +1,7 @@
|
|||
# __Development History__
|
||||
|
||||
![buringship](./pic/burningship.png)
|
||||
|
||||
## __Contents__
|
||||
|
||||
* [__Parser__](#parser)
|
||||
|
@ -22,6 +24,7 @@
|
|||
* [__Release Notes__](#release-notes)
|
||||
* [v8.0](#version-80-release)
|
||||
* [v11.0](#version-110-release)
|
||||
* [v11.1](#version-111-release)
|
||||
|
||||
## __Parser__
|
||||
|
||||
|
@ -697,3 +700,11 @@ This bug is fixed in `v9.0`. So we suggest that do not use `v8.0`.
|
|||
9. Add `CMakeLists.txt` for cmake user(including `Visual Studio`).
|
||||
|
||||
10. New ghost type register process.
|
||||
|
||||
### __version 11.1 release__
|
||||
|
||||
1. Bug fix: debugger in v11.0 is malfunctional.
|
||||
|
||||
2. Bug fix: symbol_finder does not check definition in foreach/forindex loop.
|
||||
|
||||
3. Change extension syntax `import.xx.xx` to `use xx.xx`.
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# __开发历史记录__
|
||||
|
||||
![buringship](./pic/burningship.png)
|
||||
|
||||
## __目录__
|
||||
|
||||
* [__语法分析__](#语法分析)
|
||||
|
@ -22,6 +24,7 @@
|
|||
* [__发行日志__](#发行日志)
|
||||
* [v8.0](#version-80-release)
|
||||
* [v11.0](#version-110-release)
|
||||
* [v11.1](#version-111-release)
|
||||
|
||||
## __语法分析__
|
||||
|
||||
|
@ -630,3 +633,11 @@ in __`nasal_dbg.h:215`__: `auto canary=gc.stack+STACK_MAX_DEPTH-1;`
|
|||
9. 添加`CMakeLists.txt` (可在`Visual Studio`中使用)。
|
||||
|
||||
10. 全新的自定义类型注册流程。
|
||||
|
||||
### __version 11.1 release__
|
||||
|
||||
1. Bug 修复: 修复 v11.0 的 debugger 无法启动的问题。
|
||||
|
||||
2. Bug 修复: symbol_finder 不检查 foreach/forindex 中的迭代变量声明的问题。
|
||||
|
||||
3. 扩展语法 `import.xx.xx` 改为 `use xx.xx`。
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<div class="badges">
|
||||
<a href="https://github.com/ValKmjolnir/Nasal-Interpreter"><img src="https://img.shields.io/github/languages/code-size/ValKmjolnir/Nasal-Interpreter?style=flat-square&logo=github"></img></a>
|
||||
<a href="https://github.com/ValKmjolnir/Nasal-Interpreter"><img src="https://img.shields.io/github/v/release/ValKmjolnir/Nasal-Interpreter?style=flat-square&logo=github"></img></a>
|
||||
<a href="https://github.com/ValKmjolnir/Nasal-Interpreter"><img src="https://img.shields.io/badge/dev-v10.0-blue?style=flat-square&logo=github"></img></a>
|
||||
<a href="https://github.com/ValKmjolnir/Nasal-Interpreter"><img src="https://img.shields.io/badge/dev-v11.2-blue?style=flat-square&logo=github"></img></a>
|
||||
<a href="https://github.com/ValKmjolnir/Nasal-Interpreter"><img src="https://img.shields.io/badge/license-GPLv2-green?style=flat-square&logo=github"><br/></img></a>
|
||||
</div>
|
||||
<h2> Introduction | 介绍</h2>
|
||||
|
@ -79,13 +79,14 @@
|
|||
在8.0版本中这个解释器需要跑超过2200秒来绘制这张图。
|
||||
</p>
|
||||
<p>
|
||||
The figure below is the feigenbaum-figure generated by ppm script written in nasal.
|
||||
The figure below is the feigenbaum-figure and burningship-figure generated by ppm script written in nasal.
|
||||
</p>
|
||||
<p>
|
||||
下方是使用 nasal 的 ppm 生成脚本生成的 feigenbaum 图形。
|
||||
下方是使用 nasal 的 ppm 生成脚本生成的 feigenbaum 和 burningship 图形。
|
||||
</p>
|
||||
</text>
|
||||
<img src="/doc/pic/feigenbaum.png" width="900" height="550" style="margin-left: 15px;"><br /></img>
|
||||
<img src="/doc/pic/burningship.png" width="900" height="550" style="margin-left: 15px;"><br /></img>
|
||||
<h2> Example | 样例代码</h2>
|
||||
<form method="get">
|
||||
<text style="margin-left: 15px;"> </text>
|
||||
|
|
|
@ -322,7 +322,8 @@ while(1){
|
|||
elsif(path=="/doc/pic/nasal.png" or
|
||||
path=="/doc/pic/benchmark.png" or
|
||||
path=="/doc/pic/mandelbrot.png" or
|
||||
path=="/doc/pic/feigenbaum.png")
|
||||
path=="/doc/pic/feigenbaum.png" or
|
||||
path=="/doc/pic/burningship.png")
|
||||
http.send(client,respond.ok(io.readfile("."~path)));
|
||||
else{
|
||||
var filename=substr(path,1,size(path)-1);
|
||||
|
|
Loading…
Reference in New Issue