Timeline for Shortest program that throws StackOverflow Error
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 2, 2017 at 13:27 | history | edited | L3viathan | CC BY-SA 3.0 |
added 7 characters in body
|
Feb 14, 2014 at 12:32 | review | Suggested edits | |||
Feb 14, 2014 at 12:37 | |||||
Jan 4, 2014 at 18:08 | comment | added | Darren Stone |
@ratchetfreak, those control words can only be used in a compile state, so they need to be wrapped in a : ...; word definition. That adds at least 6 characters, plus at least 2 more for this to execute as a program. You might be able to do it shorter, but here's an example: : F BEGIN 1 AGAIN ; F . I suggest this because the question asks: "Write a program." Anyways, gave you an upvote for Forth, regardless of char count! :-)
|
|
Jan 18, 2013 at 14:50 | comment | added | ratchet freak | won't work (X isn't defined while defining the call and that's a self reference/recursion | |
Jan 18, 2013 at 14:45 | comment | added | AMK |
: X X ; X (9) must overflow return stack
|
|
Jan 14, 2013 at 17:08 | review | Low quality posts | |||
Jan 15, 2013 at 19:04 | |||||
Jan 14, 2013 at 16:52 | history | answered | ratchet freak | CC BY-SA 3.0 |