Skip to content
Discussion options

You must be logged in to vote

I'm not able to find any similar statements concerning the return and data stacks.

Yes, the standard does not declare a minimal size for the data stack or return stack.

It's an implementation defined option. 4.1.3 Other system documentation says:

  • A system shall provide the following information:

    • return stack space available, in cells;
    • stack space available, in cells;

And an ambiguous condition exists in a case of "insufficient data-stack space or return-stack space (stack overflow)" (4.1.2 Ambiguous conditions).

"Implementation defined" is a formal term:

  • implementation defined: Denotes system behaviors or features that must be provided and documented by a system but…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@SirWumpus
Comment options

Answer selected by SirWumpus
Comment options

You must be logged in to vote
4 replies
@gordonjcp
Comment options

@bfox9900
Comment options

@MitchBradley
Comment options

@CCurl
Comment options

CCurl Apr 4, 2023
Maintainer

Comment options

You must be logged in to vote
0 replies
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
8 participants