annotate src/python.html.luan @ 92:7a56c17befab default tip

translation
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 02 May 2025 20:20:12 -0600
parents 76baf48ea36b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 local Luan = require "luan:Luan.luan"
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 local error = Luan.error
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 local Io = require "luan:Io.luan"
91
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 17
diff changeset
4 local Site_translator = require "luan:gpt/Site_translator.luan"
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 17
diff changeset
5 local get_lang = Site_translator.get_lang or error()
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 17
diff changeset
6 local text_writer = Site_translator.text_writer or error()
16
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 local Shared = require "site:/lib/Shared.luan"
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 local head = Shared.head or error()
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9 local existing_header = Shared.existing_header or error()
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 return function()
91
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 17
diff changeset
13 Io.stdout = text_writer()
16
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 %>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
15 <!doctype html>
91
76baf48ea36b add translation
Franklin Schmidt <fschmidt@gmail.com>
parents: 17
diff changeset
16 <html lang="<%=get_lang()%>">
16
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
17 <head>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
18 <% head() %>
17
Franklin Schmidt <fschmidt@gmail.com>
parents: 16
diff changeset
19 <title>Reactionary Software - Python</title>
16
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
20 </head>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
21 <body>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
22 <% existing_header() %>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
23 <div content>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
24 <h1>Python</h1>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
25
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
26 <p>I have never done a major project in <a href="https://www.python.org/">Python</a>, so I am not qualified to write this page. But I have looked at Python enough to know that it qualifies as good reactionary software. Python was developed in the 1990s, before the West became depraved. If you are a reactionary programmer with Python experience, please consider writing the content for this page, and I will replace this with what you write.</p>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
27 </div>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
28 </body>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
29 </html>
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
30 <%
bac9577e951b add python
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
31 end