Update README.md

This commit is contained in:
BLUELOVETH 2022-11-06 12:54:53 +08:00 committed by GitHub
parent dd935e989b
commit daf192b356
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,7 @@
**CURRENTLY IN DEVELOPMENT!!**
## Prebuilt Windows Binaries
Go to https://github.com/blueloveTH/pocketpy/actions/workflows/main.yml to get an artifact.
## Build From Source
## Build From Source (Linux)
First clone the repository
@ -27,7 +23,7 @@ cd pocketpy
python3 amalgamate.py
```
It will generate `pocketpy.h` and `main.cpp` in `amalgamate/` directory. You can use `main.cpp` to build a REPL console or use `pocketpy.h` only to embed it to your game engine.
It will generate `pocketpy.h` and `main.cpp` in `amalgamated/` directory. You can use `main.cpp` to build a REPL console or use `pocketpy.h` only to embed it to your game engine.
**If you want to do development:**
@ -35,6 +31,10 @@ It will generate `pocketpy.h` and `main.cpp` in `amalgamate/` directory. You can
g++ -o pocketpy src/main.cpp --std=c++17 -O1
```
## Prebuilt Windows Binaries
Go to https://github.com/blueloveTH/pocketpy/actions/workflows/main.yml to get an artifact.
## Reference
+ [cpython](https://github.com/python/cpython)