| File | Date | Author | Commit |
|---|---|---|---|
| dll | 2025-12-09 |
|
[f1cea9] Delete dll/1 |
| LICENSE | 2025-12-19 |
|
[aef5dc] Add GNU GPL v3 license |
| README.md | 2025-12-20 |
|
[11aebb] Revise README with new warnings and features |
| cppsp.png | 2025-12-17 |
|
[848390] Add files via upload |
| cppsp_compiler.cpp | 2025-12-20 |
|
[7bc48b] Cppsp isn't strict anymore! |
| cppsp_compiler.exe | 2025-12-20 |
|
[7bc48b] Cppsp isn't strict anymore! |

cppsp -a scripting language base on c++
Download the cppsp_compiler.exe or compiler the sourcecode by yourself
* Requirement:prepare your own c++ compiler and set it's folder to environment path(environment variable)
* Requirement:a 64bits c++ compiler to make sure exe can be open
* Optional: put the folder path of exe to environment
@command("-f1 -f2 ..... -f5")
@command("-f6 -f7 ....-f10")
under #overwritender #overwrite
@command("g++ -Os -m64 -nostdlib -shared ")
@command(" -o dll.dll dll.cpp")
```
## Example
```cpp
print("hello world")
@command("-mtune=native -fomit-frame-pointer -static-libgcc -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--as-needed -s -Wl,--strip-all -Os -m64")
import iostream,vector
@function<<using namespace std;>>
print("12\n"," ",1," ",2.1,true,false," ")
print( "abc")
print(1,"\n") //abv
//print(1.1)
@inject(int x=1;int y=2;int z=3; auto is_bool = [](const std::string& s){ return s == "true" || s == "false";};)
input(x,y,z)
@function<<class cls{vector< string> cars = {"Volvo", "BMW", "Ford", "Mazda"};};>>
print(x+y+z)
#overwrite
@command("g++ -Os -m64 -nostdlib -shared -o dll.dll dll.cpp")
@function<<extern "C" __declspec(dllexport) int add(int a, int b) { return a * b;}>>
@function<</*>>