Dear Gorbachev

Caro Gorbaciov (internationally released as Dear Gorbachev) is a 1988 Italian drama film directed by Carlo Lizzani.[1] It entered the main competition at the 45th Venice International Film Festival, in which it won the President of the Italian Senate's Gold Medal.[2]

Dear Gorbachev
Directed byCarlo Lizzani
Music byLuis Enriquez Bacalov
Running time
81 minutes

Cast

gollark: ```python#!/usr/bin/env python3import argparseimport subprocessparser = argparse.ArgumentParser(description='Compile a WHY program')parser.add_argument("input", help="File containing WHY source code")parser.add_argument("-o", "--output", help="Filename of the output executable to make", default="./a.why")parser.add_argument("-O", "--optimize", help="Optimization level", type=int, default="0")args = parser.parse_args()def build_C(args): template = """#define QUITELONG long long intconst QUITELONG max = @max@;int main() { QUITELONG i = 0; while (i < max) { i++; } @code@} """ for k, v in args.items(): template = template.replace(f"@{k}@", str(v)) return templateinput = args.inputoutput = args.outputtemp = "ignore-this-please"with open(input, "r") as f: contents = f.read() looplen = max(1000, (2 ** -args.optimize) * 1000000000) code = build_C({ "code": contents, "max": looplen }) with open(temp, "w") as out: out.write(code)subprocess.run(["gcc", "-x", "c", "-o", output, temp])```
gollark: ^
gollark: 937 bytes.
gollark: The WHY compiler is *very* small.
gollark: I could add that to `WHY`, if I knew how to parse CLI args in python.

References

  1. Roberto Chiti; Roberto Poppi; Enrico Lancia. Dizionario del cinema italiano: I film. Gremese, 2000. ISBN 8877424230.
  2. Enrico Lancia. I premi del cinema. Gremese Editore, 1998. ISBN 8877422211.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.