Skip to main content

Timeline for Make your language unusable

Current License: CC BY-SA 3.0

15 events
when toggle format what by license comment
Apr 23, 2017 at 17:58 comment added wizzwizz4 @IwillnotexistIdonotexist No, the inserted code is user-defined. See the PHP answer below: // insert program here.
Apr 23, 2017 at 17:39 comment added Iwillnotexist Idonotexist @wizzwizz4 But the rules say "The inserted code must be actually executed, in a way it is supposed to satisfy the criteria.". The inserted code is \catcode13=9% and really is executed. It's not akin to commenting // or /* in C & C++ because neither continues ad infinitum (/* is closed by the next */ so it doesn't make the language useless), and \n in the source files of those languages cannot be reconsidered as a normal character. Only TeX allows this sort of control over the lexer system, enabling this hack.
Apr 23, 2017 at 17:20 comment added wizzwizz4 @IwillnotexistIdonotexist That wouldn't be a valid submission because it creates an infinite comment, and comments aren't code so aren't "executed".
Apr 13, 2017 at 12:39 history edited CommunityBot
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Jun 18, 2016 at 19:13 history edited Cephalopod CC BY-SA 3.0
added 111 characters in body
Jan 24, 2016 at 13:47 history edited Cephalopod CC BY-SA 3.0
added 333 characters in body
Jan 23, 2016 at 23:03 comment added Iwillnotexist Idonotexist +1. I just started teaching myself out of the TeXBook and when I realized \catcode13=9% would completely break the language (Everything after % is commented and newlines (ASCII char 13) are ignored, so the comment extends to infinity) I wanted to post it here. But you have a slightly longer command already in here.
Oct 26, 2015 at 19:23 comment added Cephalopod @smpl Hmm, I see. Very clever.
Oct 26, 2015 at 14:48 comment added user530873 @Cephalopod \fi is a TeX primitive. And no you can't redefine anything at this point, \iffalse has been called.
Oct 26, 2015 at 12:07 comment added Cephalopod @smpl you can still redefine \fi to its original meaning, right? Thus the language is not broken beyond any repair.
Oct 26, 2015 at 0:12 comment added user530873 A better version: \def\fi{}\iffalse. I can't post answers on this because it requires at least 10 rep earned from this site, but this will not allow output anymore too.
Oct 24, 2015 at 18:33 comment added Cephalopod It is no longer possible to produce different outputs. Thus, per definition in the question, the language is broken.
Oct 23, 2015 at 17:35 comment added yo' Well, you can still output anything. Appending 20 paragraphs of Lorem Ipsum to your code, I get about 7 pages of nicely typeset text. The problem is that I have to kill it; but still, the DVI file is already shipped, at least partially.
Oct 23, 2015 at 7:20 comment added user530873 Only true for formats that use \ as the only character in category 0, but glad to see TeX represented here! :)
Oct 19, 2015 at 19:50 history answered Cephalopod CC BY-SA 3.0