Hacker News new | ask | show | jobs
by FeepingCreature 903 days ago
Yeah that's a macro (`std.macro.listcomprehension`), you can copy that file and change it to be whatever syntax you like. It's indeed inspired by Python's syntax.