From e27f7737497f458401bf3a4603968180529be2e3 Mon Sep 17 00:00:00 2001 From: ValKmjolnir Date: Fri, 17 Jun 2022 22:18:34 +0800 Subject: [PATCH] :memo: update docs --- README.md | 20 ++++++++++++++++---- stl/process_bar.nas | 1 - 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cfb9a32..69fe0b0 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,9 @@ ``` ![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) ## __Contents__ @@ -109,11 +112,20 @@ 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. -Also remember to use g++ or clang++.(`mingw-w64` in __`Windows`__) +[![please use MinGW](https://www.mingw-w64.org/header.svg)](https://www.mingw-w64.org/) -> [cpp compiler] -std=c++11 -O3 main.cpp -o nasal.exe -fno-exceptions -static +__PLEASE USE MINGW ON WINDOWS!__ -Or use this in __`linux/macOS/Unix`__ +![g++](https://img.shields.io/badge/GNU-g++-A42E2B?style=flat-square&logo=GNU) + +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 @@ -123,7 +135,7 @@ Or using makefile,`mingw32-make` is __`Windows(MinGW-w64)`__ platform's `make`: > > mingw32-make.exe nasal.exe -in __`linux/macOS/Unix`__: +on __`linux/macOS/Unix`__: > make nasal diff --git a/stl/process_bar.nas b/stl/process_bar.nas index 4ea8356..a29de69 100644 --- a/stl/process_bar.nas +++ b/stl/process_bar.nas @@ -103,7 +103,6 @@ process_bar.spinner=func(){ "⠁⠂⠄⡀⢀⠠⠐⠈" ], pulse:[ - "----------------", "●---------------", "-●--------------", "--●-------------",