source.app
var appFileType appFileTypeContent assetsDir cloneExt dubFile dubFileContent dubLockFile gitFile gitFileContent isCmdLineHidden isCmdOutputHidden isJustUsingVendor minLogLevel readmeFile readmeFileContent webDir
struct VendorData
Types 6
structVendorData
enumAppFileType
basic
entity
aliasSz = size_t
The result of sizeof, ...
aliasStr = char[]
A string slice of chars.
aliasIStr = const(char)[]
A string slice of constant chars.
enumLevel : ubyte
none
info
warning
error
Functions 42
fn
int main(string[] args)fn
void echo(A...)(A args)fn
void echon(A...)(A args)fn
bool startsWith(IStr str, IStr start)Variables 16
enumvar
assetsDir = "assets"enumvar
webDir = "web"enumvar
readmeFile = "README.md"enumvar
gitFile = ".gitignore"enumvar
dubFile = "dub.json"enumvar
dubLockFile = "dub.selections.json"var
appFileTypeContent = [
AppFileType.basic: import("template_basic"),
AppFileType.entity: import("template_entity"),
]enumvar
readmeFileContent = "
# Cool Title
This game was created with [Parin](https://github.com/Kapendev/parin).
To play, run:
```sh
dub run parin:setup
dub run
```
"[1 .. $]enumvar
gitFileContent = `
.dub
game
favicon.ico
lib*
test*
index.*
emscripten_shell.html
game_web.zip
*.wasm
*.so
*.dylib
*.dll
*.a
*.lib
*.exe
*.pdb
*.o
*.obj
*.lst
`[1 .. $]enumvar
dubFileContent = `
{
"authors" : ["Name"],
"copyright" : "Copyright © 2026, Name",
"description" : "A game made with Parin.",
"license" : "proprietary",
"name" : "game",
"stringImportPaths": [
"assets"
],
"dependencies": {
"parin": "*"
},
"configurations": [
{
"name": "default",
"targetType": "executable"
},
{
"name": "wasm",
"targetType": "library",
"targetName": "game_wasm",
"dflags": ["-mtriple=wasm32-unknown-unknown-wasm", "-checkaction=halt", "-i", "--release", "-betterC"]
}
]
}
`[1 .. $]var
isJustUsingVendor = falsevar
appFileType = AppFileType.basicvar
bool isCmdLineHidden = falsevar
bool isCmdOutputHidden = falseenumvar
cloneExt = "._cl"