📝 add README_zh.md(haven't finished translation).

This commit is contained in:
ValKmjolnir 2022-06-18 00:30:43 +08:00
parent e27f773749
commit bb84c6d143
2 changed files with 1981 additions and 8 deletions

View File

@ -8,10 +8,12 @@
\_\ \/ \__,_|___/\__,_|_|
```
![license](https://img.shields.io/badge/license-MIT-green?style=flat-square&logo=github)
![g++](https://img.shields.io/badge/GNU-g++-A42E2B?style=flat-square&logo=GNU)
![clang++](https://img.shields.io/badge/LLVM-clang++-262D3A?style=flat-square&logo=LLVM)
![c++11](https://img.shields.io/badge/C++-11-00599C?style=flat-square&logo=Cplusplus)
![GitHub code size in bytes](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-v10.0-blue?style=flat-square&logo=github)
[![license](https://img.shields.io/badge/license-MIT-green?style=flat-square&logo=github)](./LICENSE)
> This document is also available in: [__中文__](./doc/README_zh.md) | [__English__](./README.md)
## __Contents__
@ -107,24 +109,26 @@ this interpreter a useful tool in your own projects (such as a script in a game
## __How to Compile__
![windows](https://img.shields.io/badge/Microsoft-Windows-green?style=flat-square&logo=windows)
![macOS](https://img.shields.io/badge/Apple%20Inc.-MacOS-green?style=flat-square&logo=apple)
![linux](https://img.shields.io/badge/GNU-Linux-green?style=flat-square&logo=GNU)
Better choose the latest update of the interpreter.
Download the source and build it! It's quite easy to build this interpreter.
__CAUTION__: If want to use the release zip/tar.gz file to build the interpreter, please read the [__Release Notes__](#release-notes) below to make sure this release file has no fatal bugs. There are some tips to fix the release manually.
[![please use MinGW](https://www.mingw-w64.org/header.svg)](https://www.mingw-w64.org/)
[![please use MinGW](https://www.mingw-w64.org/header.svg)](https://www.mingw-w64.org/ "PLEASE USE MINGW ON WINDOWS!")
__PLEASE USE MINGW ON WINDOWS!__
![g++](https://img.shields.io/badge/GNU-g++-A42E2B?style=flat-square&logo=GNU)
![clang++](https://img.shields.io/badge/LLVM-clang++-262D3A?style=flat-square&logo=LLVM)
Use g++ on __`Windows`__(`MinGW-w64`) platform. Download MinGW-w64 [__HERE__](https://www.mingw-w64.org/downloads/). (otherwise don't blame me for not reminding YOU 👿 )
> g++ -std=c++11 -O3 main.cpp -o nasal.exe -fno-exceptions -static
![g++](https://img.shields.io/badge/GNU-g++-A42E2B?style=flat-square&logo=GNU)
![clang++](https://img.shields.io/badge/LLVM-clang++-262D3A?style=flat-square&logo=LLVM)
Or use g++/clang++ on __`linux/macOS/Unix`__ platform.
> [cpp compiler] -std=c++11 -O3 main.cpp -o nasal -fno-exceptions -ldl

1969
doc/README_zh.md Normal file

File diff suppressed because it is too large Load Diff