Skip to content

Confusion over S" and SLITERAL #128

Answered by ruv
SirWumpus asked this question in Q&A
Discussion options

You must be logged in to vote

Does this not imply that SLITERAL must also perform the S" interpretation semantics too?

This example implementation was correct in Forth-2012, and it just become incorrect in the new draft.

There are two versions for the word s" in Forth-2012 — CORE (6.1.2165) and FILE (11.6.1.2165). And a difference is that interpretation semantics are undefined in the CORE version.

The rationale A.17.6.1.2212 provides an example for the CORE version, it says: "The current functionality of 6.1.2165 S" may be provided by the following definition". So, it provides an example for the CORE version of s", that cannot be used in interpretation state by a standard program.

On the standard meeting in 2017 it w…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SirWumpus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
clarification Rationale or explanation to the Forth standard
2 participants