📝 update readme
This commit is contained in:
parent
22b1841664
commit
fdd7794a83
|
@ -64,7 +64,8 @@ the interpreter a useful tool in your own projects.
|
|||

|
||||

|
||||
|
||||
Better download the latest update source of the interpreter and build it! It's quite easy to build this interpreter.
|
||||
Better download the latest update source of the interpreter and build it! It's quite easy to build this interpreter, what you need are only two things: C++ compiler and the `make`. There is no third-party library used in this project.
|
||||
|
||||
__CAUTION__: If want to use the release zip/tar.gz file to build the interpreter, please read the [__Release Notes__](./doc/dev.md#release-notes) to make sure this release file has no fatal bugs.
|
||||
|
||||
Use g++(`MinGW-w64`) or MSVC(`Visual Studio`) on `Windows` .
|
||||
|
@ -943,9 +944,6 @@ and the debugger will print this:
|
|||
<details><summary>Click to unfold</summary>
|
||||
|
||||
```javascript
|
||||
[debug] nasal debug mode
|
||||
input 'h' to get help
|
||||
|
||||
source code:
|
||||
--> var fib=func(x)
|
||||
{
|
||||
|
|
|
@ -53,7 +53,9 @@ __我们为什么想要重新写一个nasal解释器?__
|
|||

|
||||

|
||||
|
||||
我们推荐你下载最新更新的代码包来直接编译,这个项目非常小巧因此你可以非常快速地将它编译出来。
|
||||
我们推荐你下载最新更新的代码包来直接编译,这个项目非常小巧,没有使用任何第三方库,因此编译起来非常轻松,
|
||||
你只需要这两样东西: C++ 编译器以及make程序。
|
||||
|
||||
__注意__: 如果你想直接下载发行版提供的zip/tar.gz压缩包来构建这个解释器,在下载之前请阅读[__发行日志__](../doc/dev_zh.md#发行日志)以保证这个发行版的文件中不包含非常严重的bug。
|
||||
|
||||
`Windows` 用户通过 g++(`MinGW-w64`) 或者使用 MSVC(`Visual Studio`) 来进行编译。
|
||||
|
@ -904,9 +906,6 @@ local (0x7fffe0ffedf0 <sp+45>)
|
|||
<details><summary>展开</summary>
|
||||
|
||||
```javascript
|
||||
[debug] nasal debug mode
|
||||
input 'h' to get help
|
||||
|
||||
source code:
|
||||
--> var fib=func(x)
|
||||
{
|
||||
|
|
|
@ -126,12 +126,7 @@ void debugger::stepinfo() {
|
|||
|
||||
void debugger::interact() {
|
||||
// special operand
|
||||
if (bytecode[pc].op==op_intg) {
|
||||
std::cout
|
||||
<<cyan<<"[debug] "<<reset
|
||||
<<"nasal debug mode\n"
|
||||
<<"input \'h\' to get help\n";
|
||||
} else if (bytecode[pc].op==op_exit) {
|
||||
if (bytecode[pc].op==op_exit) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -297,7 +292,6 @@ vmexit:
|
|||
ngc.info();
|
||||
ngc.clear();
|
||||
imm.clear();
|
||||
std::cout<<cyan<<"[debug] "<<reset<<"debugger exited\n";
|
||||
return;
|
||||
#ifndef _MSC_VER
|
||||
#define dbg(op,num) {\
|
||||
|
|
Loading…
Reference in New Issue