
cppsp v1.5 --module system update
cppsp_compiler mod.cppsp -header will generate .h file and turn int main(){...} a comment module.ini:C:...\modfolder1,c:...\modfolder1 can use .cppsp mod by import support multi-level namespace for @custom xxx(...) import can also import .cppsp mods like import a.b.mod | a.b.mod represent the path a/b/mod.cppsp and path will be searched from parent path in module.ini | a.b.mod also generate namespace a{ namespace b{ namespace mod{...}}} package : it is written in .cppsp, package d.e.f will replace namespace generated by import a.b.c use : use namespaces like : use a.b.c . "xxx" from @custom xxx(...) also affected by use
Continue reading on Dev.to
Opens in a new tab

