Timeline for Add a language to a polyglot
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Dec 9, 2016 at 7:44 | history | suggested | Riking | CC BY-SA 3.0 |
Use ␛ as suggested in comments
|
Dec 9, 2016 at 7:26 | review | Suggested edits | |||
S Dec 9, 2016 at 7:44 | |||||
Dec 7, 2016 at 14:07 | comment | added | Alfie Goodacre | @ais523 thanks, that answers it because I use chrome - I didn't end up needing it for my answer but I might for languages that come before it's actually valid | |
Dec 7, 2016 at 14:03 | comment | added | user62131 | @AlfieGoodacre An ESC character is just a character like any other; the main problem is that it's hard to type, as pressing ESC normally doesn't work. If you can get one from somewhere (such as my try-it-online links above, or by writing a program to output the character with code 27), you should be able to copy and paste it. However, if you're doing it in a browser, this only seems to work on Firefox; Chrome can't handle it. | |
Dec 7, 2016 at 13:40 | comment | added | Alfie Goodacre | @ais523 how do I use esc literals? | |
Dec 7, 2016 at 5:49 | comment | added | betseg | @ais523 maybe you can put ␛ to represent the 0x1B byte? | |
Dec 7, 2016 at 5:12 | comment | added | mbomb007 | It has to be the same interpreter that the original answer used. | |
Dec 6, 2016 at 22:59 | comment | added | user62131 |
Err, isn't vim an interpreter for Vim? (It works in both vim and V, though.)
|
|
Dec 6, 2016 at 22:59 | comment | added | mbomb007 | Also, you can't test locally for Vim. Languages are defined by the interpreter that is used. So it's really V that we've had all this time. | |
Dec 6, 2016 at 22:58 | comment | added | user62131 | You don't have to include the literal ESC in your own answers; I just found it to be the easiest way to write this one. (Additionally, it works fine in Firefox, and in local testing; the only thing blocking me from putting it in the post is that Chromium, which I use for SE, doesn't want to put it into the input box.) | |
Dec 6, 2016 at 22:57 | history | edited | user62131 | CC BY-SA 3.0 |
link for Japt
|
Dec 6, 2016 at 22:55 | comment | added | mbomb007 | Seriously? You're going to make it extremely difficult for anyone else to create answers if you put in a literal ESC. We have to be able to test the code. | |
Dec 6, 2016 at 22:53 | history | answered | user62131 | CC BY-SA 3.0 |