Loading ...
Sorry, an error occurred while loading the content.

RFD: Legacy Wordset

Expand Messages
  • Peter Knaggs
    At the Vienna meeting it was decided that the Obsolete word marked in section 1.4.2 namely #TIB, CONVERT, EXPECT, FORGET, QUERY, SPAN and TIB should be
    Message 1 of 3 , Aug 23, 2009
    View Source
    • 0 Attachment
      At the Vienna meeting it was decided that the "Obsolete" word marked in
      section 1.4.2 namely #TIB, CONVERT, EXPECT, FORGET, QUERY, SPAN and TIB
      should be removed from the CORE-EXT and TOOLS-EXT word sets and placed
      into a new word set of there own, the Legacy word set.

      The new chapter (word set) complete with introduction can be found at:

      http://www.rigwit.co.uk/forth/legacy-09-2.pdf

      --
      Peter Knaggs
    • Peter Knaggs
      At the Vienna meeting it was agreed that the Test Suite should be updated to the one currently on the web site, which includes the T{ }T notation, and the
      Message 2 of 3 , Aug 23, 2009
      View Source
      • 0 Attachment
        At the Vienna meeting it was agreed that the Test Suite should be
        updated to the one currently on the web site, which includes the T{ }T
        notation, and the ability to test floating-point words. It was also
        agreed that we should integrate Gerry Jackson's tests into the document.
        The resulting test suite is now available for review at:

        http://www.rigwit.co.uk/forth/test-09-2.pdf

        This includes tests for

        CORE: RECURSE :NONAME ?DO C" CASE COMPILE, TRUE FALSE SAVE-INPUT
        RESTORE-INPUT VALUE and [COMPILE]

        DOUBLE: 2CONSTANT 2LITERAL 2VARIABLE D+ D- D. D.R D0< D0= D2* D2/ D< D=
        D>S DABS DMAX DMIN DNEGATE M*/ M+ 2ROT and DU<

        EXCEPTION: CATCH THROW ABORT" ABORT

        FILE: S" R/O W/O R/W CREATE-FILE OPEN-FILE READ-LINE WRITE-LINE
        CLOSE-FILE BIN FILE-SIZE FILE-POSITION REPOSITION-FILE READ-FILE
        WRITE-FILE FLUSH-FILE RESIZE-FILE RENAME-FILE FILE-STATUS DELETE-FILE (
        and SOURCE-ID

        MEMORY: ALLOCATE RESIZE FREE

        TOOLS: AHEAD CS-PICK CS-ROLL [IF] [ELSE] and [THEN]

        SEARCH: FORTH-WORDLIST GET-ORDER SET-ORDER ALSO ONLY GET-CURRENT
        SET-CURRENT WORDLIST DEFINITIONS PREVIOUS SEARCH-WORDLIST FIND and ORDER

        STRING: -TRAILING /STRING BLANK COMPARE SEARCH and SLITERAL


        Despite the test harness being updated to handle floating point words I
        do not know of any test cases for word in the BLOCK, FACILITY, FLOATING
        or LOCALS wordsets.

        --
        Peter Knaggs
      • Peter Knaggs
        At the Vienna meeting it was agreed that the Reference Implementations would be presented in an annex of there own rather than being included in the rational.
        Message 3 of 3 , Aug 23, 2009
        View Source
        • 0 Attachment
          At the Vienna meeting it was agreed that the Reference Implementations
          would be presented in an annex of there own rather than being included
          in the rational. This annex, complete with an introduction, can be
          found at:

          http://www.rigwit.co.uk/forth/reference-09-2.pdf

          --
          Peter Knaggs
        Your message has been successfully submitted and would be delivered to recipients shortly.