Skip to content

What is cppsp?

user19870 edited this page Dec 20, 2025 · 4 revisions

Welcome to the cppsp wiki!

cppsp is a scripting compiled language. Its compiler:cppsp_compiler is a kind of source-to-source compiler.

This cppsp isn't c++ server pages(another cppsp)

How to install?

  • 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

  • Optional: put the folder path of exe to environment

Warning ⚠️

  • Cannot accept any space/blank before keyword before v1.2!
  • No multi-line before v1.3!
  • @command() will never be multi-line but you can use following as an alternative
@command("-f1 -f2 ..... -f5") 
@command("-f6 -f7 ....-f10") 

under #overwritender #overwrite

@command("g++ -Os -m64 -nostdlib  -shared ") 
@command(" -o dll.dll dll.cpp") 

Usage

  • Use cmd or other console to compiler .cppsp file: cppsp_compiler(if not in environment path:.\cppsp_compiler.exe or c:...\cppsp_compiler.exe) script.cppsp

  • Setting c++ include/lib folder by .ini file include.ini:C:...\include1,c:...\include2 lib.ini:C:...\lib1,c:...\lib2

Clone this wiki locally