![]() |
|
![]() |
|
I don't know what you mean by "not sure what its digits are". If you mean what base to represent the number in, that's no more arbitrary than knowing the exact way Gödel numbers use primes. |
![]() |
|
By default, even on a recent perl it'll act like you're on a really old perl and run just fine. With warnings, it runs, but tells you about all of the mistakes you made. With strict, it doesn't run. |
![]() |
|
> It looks like there's not much progress done since in the field LLMs help here. From my own experiments chatGPT is pretty good "smart, context-aware" OCR agent. |
![]() |
|
The OCR (optical character recognition) is doing the heavy lifting, essentially forcing the blotches into strings... which then turn out to be valid perl programs
|
![]() |
|
|
![]() |
|
"is it possible to smear paint on the wall without creating valid Perl?" This is just a matter of syntax, right? So could it be determined by a stack machine? Unfortunately, the answer is no. Perl is not context free! https://perlmonks.org/?node_id=663393 As just a guess, this question maps to the Halting Problem. (EDIT: That would have to be the question where the input is a programming language, not just for Perl. That question has been answered empirically.) |
![]() |
|
I think you're reading way too much into it with little context. For instance, we don't even know how old the kid is, or if the workload on the kid from school is super high.
|
![]() |
|
If you learn the Dewey Decimal system, you can go to the library and find a book to teach you to use a drill press. On the other hand, if you take a drill press to the library looking for a book, ...
|
![]() |
|
You can be certain that a Perl program will still work unchanged in 2034. And it’s probably not going anywhere, both in the good sense and the bad sense.
|
![]() |
|
"cannot fathom how these kind of languages got so much adoption" The other options built into your UNIX (maybe Linux) machine were: - C - C++ - tcsh/ksh/bash - awk - TCL What would you have chosen? |
![]() |
|
Yeah, many people are happy with their IDE not letting them do something incorrectly (if they have extensions X, Y, Z installed), I prefer having something incorrect being impossible to exist.
|
I don't think this is correct? Concatenative languages have the property that if a and b are both valid programs, that the program a || b is valid (where || means "concatenate"). But that property doesn't imply that every sequence of tokens is valid.
For example, in Cat,
is not grammatically valid.