| 1 |
module generator; |
| 2 |
|
| 3 |
import std.file; |
| 4 |
import std.stdio; |
| 5 |
import std.string; |
| 6 |
|
| 7 |
void main(string[] args) |
| 8 |
{ |
| 9 |
const text = cast(string)read(args[1]); |
| 10 |
|
| 11 |
writeln("module generated;"); |
| 12 |
writefln!`string generatedString() { return "%s"; }`(text.strip()); |
| 13 |
} |