Mercurial Hosting > reactionary
comparison src/elvish.html.luan @ 98:5d41aa24adaf
elvish
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 23 Jun 2025 22:37:16 -0600 |
parents | src/lucene.html.luan@83d98c822c71 |
children | 587399dc0e07 |
comparison
equal
deleted
inserted
replaced
97:fc17d07c93db | 98:5d41aa24adaf |
---|---|
1 local Luan = require "luan:Luan.luan" | |
2 local error = Luan.error | |
3 local Io = require "luan:Io.luan" | |
4 local Site_translator = require "luan:ai/Site_translator.luan" | |
5 local get_lang = Site_translator.get_lang or error() | |
6 local text_writer = Site_translator.text_writer or error() | |
7 local Shared = require "site:/lib/Shared.luan" | |
8 local head = Shared.head or error() | |
9 local needed_header = Shared.needed_header or error() | |
10 local luan_url = Shared.luan_url or error() | |
11 | |
12 | |
13 return function() | |
14 Io.stdout = text_writer() | |
15 %> | |
16 <!doctype html> | |
17 <html lang="<%=get_lang()%>"> | |
18 <head> | |
19 <% head() %> | |
20 <title>Reactionary Software - Elvish Shell</title> | |
21 </head> | |
22 <body> | |
23 <% needed_header() %> | |
24 <div content> | |
25 <h1>Elvish Shell</h1> | |
26 | |
27 <p><a href="bash.html">Bash</a> is old and reliable, but it is far from perfect. Bash is clunky and is cryptic for writing shell scripts. Of course most modern modern shell languages are horrible. The only exception I found is <a href="https://elv.sh/">Elvish</a>.</p> | |
28 | |
29 <p>Elvish has a clean design with none of the quirks of Bash. The only problem is that Elvish doesn't work. Elvish doesn't handle background processes properly as described <a href="https://github.com/elves/elvish/issues/307">here</a>. This means that if you open an Elvish shell, launch a GUI app from the command line, and later close the shell, then this kills the GUI app. That's pretty bad.</p> | |
30 | |
31 <p>In general, no software written by modern programmers work properly. Modern programmers have no conscientiousness. They don't care about bugs and don't respond to user complaints. The background process problem was what made me give up on Elvish, but presumably there are other problems that I didn't encounter.</p> | |
32 | |
33 <p>So why bother with Elvish? Because its design is really quite good. A conscientious reactionary programmer could fix Elvish's bugs and make a great shell.</p> | |
34 </div> | |
35 </body> | |
36 </html> | |
37 <% | |
38 end |