« first day (655 days earlier)      last day (1839 days later) » 

1:44 AM
@Adám That works, and so does the stable version at github.com/danlm/QNial7.
 
 
2 hours later…
4:13 AM
@Dennis CS-Mono packages updated
(Also can you add ed)
a
Hello, World!
.
wq
#!/usr/bin/env bash

ed -s "${TIO_OPTIONS[@]}" .input.tio "$@" < .code.tio > &2
cat .input.tio
 
@Pavel The TIO repo?
 
@Dennis yes
 
@Pavel Not as a language. It's a text editor.
 
@Dennis Well, I could totally write programs with it if I wanted to
I recall you seriously tried adding vim at one point
 
in The Nineteenth Byte, 24 hours ago, by Dennis
@Zacharý You can use a shoe to drive in a nail. Doesn't make it a hammer.
@Pavel I did?
Ah, found it.
Man, my memory has gone bad...
 
4:21 AM
Also, I'd argue Make isn't a programming language either
And something like gnuplot is stretching it
 
OK, I may be underestimating ed.
Can it at least perform primality testing or execute shell commands?
 
Yeah
Both
 
I'm not sure why, but I though ed was a lot simpler than that...
 
It has loops and conditions and whatnot, it's undoubtedly TC
 
Alright then.
@Pavel Pulled.
 
4:30 AM
It's no Vim. I think it has a total of 20 or so commands?
But then, just global regex substitution is all you need for TC, and ed has other fancy things like getting line length and such.
Basically, if sed has it, ed probably has it too, since sed was developed to be ed but better for noninteractive use.
I belive the first text editor to support a form of regex was the 1967 qed, on which ed is based.
> somewhere between a line editor and a command interpreter
qed is a multiple-file programmable text editor and a programming
language based on ed(1), intended for use primarily by programmers.
I seriously wonder how that is, given it came out nearly four years before ed.
 
Maybe it's older, but it wasn't published? Sounds unlikely, but I don't know how it could make sense otherwise.
 
Well, sed actually was based on qed.
So it seems to just be nonsense
 
4:49 AM
@Pavel That just prints a 0 and a question mark.
Ah, trailing newline.
 
@Dennis It shouldn't print anything, it should write to a file.
Oh
 
Went with a slightly different wrapper. .input.tio shouldn't be modified.
 
Ah, ok
I'd rather not write a prime checker in ed right now but it would be possible to adapt the sed one
 
If it has regex, I don't need an example.
 
Alright
 
 
1 hour later…
6:05 AM
@Dennis Cool.
 
 
10 hours later…
4:29 PM
@Dennis Can you pull Add++ please?
 
 
2 hours later…
6:24 PM
@cairdcoinheringaahing Done.
 
 
1 hour later…
7:41 PM
@Dennis Thanks!
 

« first day (655 days earlier)      last day (1839 days later) »