2021-03-12 04:39:43 +01:00
|
|
|
# Yab2Cpp
|
2015-04-13 22:40:27 +02:00
|
|
|
|
2021-03-12 04:39:43 +01:00
|
|
|
A C++ export engine for the Yab interpreted language.
|
2016-03-01 22:12:55 +01:00
|
|
|
|
2022-08-02 04:48:40 +02:00
|
|
|
## Download Source Instructions
|
|
|
|
|
|
|
|
`git clone --recurse-submodules --depth 1 https://github.com/SamuraiCrow/Yab2Cpp.git`
|
|
|
|
|
|
|
|
If you forget to recurse-submodules or if the submodule code gets stale, type the following after it is done downloading:
|
|
|
|
`git submodule update --init --recursive`
|
|
|
|
|
|
|
|
## Compiling the Test Codes
|
|
|
|
|
|
|
|
Type the following in the Yab2Cpp directory and substitute the actual number of threads your CPU can run after the -j:
|
|
|
|
`make -j8 debug` or just `make -j8` for a release build.
|
|
|
|
|
|
|
|
Once it's done building, you can run the test code by typing:
|
|
|
|
`./tester` or `./tester -G` if you want it to generate all the build logs too.
|
|
|
|
|
|
|
|
To compile the executable, type `cd runtime` then `make -j8` and finally `./main` to try it out.
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Note:
|
|
|
|
|
|
|
|
The current version only supports test code for the code generator. Progress is ongoing.
|