Talk:Forte

From Esolang
Jump to: navigation, search

There is an inconsistency in the article: It states that behavior is undefined if a command is renumbered while running, but the example seems to depend on it. I think the example should be right because otherwise making loops becomes much more awkward. --Ørjan 19:03, 27 Feb 2007 (UTC)

The bug was in the example, not the spec. Making loops doesn't become substantially more awkward; I've corrected the example as a result of your comment above. ais523 10:32, 28 Feb 2007 (UTC)

Quine

The quine is neat, but seems to depend on command lines not being ended by newlines in strings, which the spec doesn't say anything about, but which I suspect wasn't consciously intended to be allowed, given FORTE's old-style BASIC roots. --Ørjan (talk) 06:59, 27 January 2017 (UTC)

If anyone's interested, here's a quine I made in 2014: http://yiap.nfshost.com/esoteric/forte/kquine.fo --Keymaker (talk) 12:36, 28 January 2017 (UTC)
The quine almost certainly comes from PPCG (one of the few places which makes heavy use of esolangs, other than us), and they define languages to be defined by their interpreter, without caring about specifications. For example programs here, we should probably stick to ones that actually comply with all readings of the specification, in case of future interpreter updates. --ais523 12:42, 28 January 2017 (UTC)