proc getPlatform(): string {....raises: [], tags: [], forbids: [].}
template genPlatform(S) {.dirty.}