- ABORT
- ABORT"
- ABS
- ACCEPT
- ACTION-OF
- AGAIN
- ALIGN
- ALIGNED
- ALLOT
- AND
- BASE
- BEGIN
- BL
- BUFFER:
- [
- [CHAR]
- [COMPILE]
- [']
- CASE
- C,
- CELL+
- CELLS
- C@
- CHAR
- CHAR+
- CHARS
- COMPILE,
- CONSTANT
- COUNT
- CR
- CREATE
- C!
- :
- :NONAME
- ,
- C"
- DECIMAL
- DEFER
- DEFER@
- DEFER!
- DEPTH
- DO
- DOES>
- DROP
- DUP
- /
- /MOD
- .R
- .(
- ."
- ELSE
- EMIT
- ENDCASE
- ENDOF
- ENVIRONMENT?
- ERASE
- EVALUATE
- EXECUTE
- EXIT
- =
- FALSE
- FILL
- FIND
- FM/MOD
- @
- HERE
- HEX
- HOLD
- HOLDS
- I
- IF
- IMMEDIATE
- INVERT
- IS
- J
- KEY
- LEAVE
- LITERAL
- LOOP
- LSHIFT
- MARKER
- MAX
- MIN
- MOD
- MOVE
- M*
- -
- NEGATE
- NIP
- OF
- OR
- OVER
- 1-
- 1+
- PAD
- PARSE-NAME
- PARSE
- PICK
- POSTPONE
- +
- +LOOP
- +!
- QUIT
- RECURSE
- REFILL
- REPEAT
- RESTORE-INPUT
- R@
- ROLL
- ROT
- RSHIFT
- R>
- SAVE-INPUT
- SIGN
- SM/REM
- SOURCE-ID
- SOURCE
- SPACE
- SPACES
- STATE
- SWAP
- ;
- S\"
- S"
- S>D
- !
- THEN
- TO
- TRUE
- TUCK
- TYPE
- '
- *
- */
- */MOD
- 2DROP
- 2DUP
- 2/
- 2@
- 2OVER
- 2R@
- 2R>
- 2SWAP
- 2!
- 2*
- 2>R
- U.R
- UM/MOD
- UM*
- UNLOOP
- UNTIL
- UNUSED
- U.
- U<
- U>
- VALUE
- VARIABLE
- WHILE
- WITHIN
- WORD
- XOR
- 0=
- 0<
- 0>
- 0<>
- \
- .
- <
- >
- <>
- #>
- <#
- #
- #S
- (
- ?DO
- ?DUP
- >BODY
- >IN
- >NUMBER
- >R
6.2.2535 \ backslash CORE EXT
Compilation:
      Perform the execution semantics given below.
      
                  
Execution:
      ( "ccc<eol>" -- )
      
                  Parse and discard the remainder of the parse area. \ is an immediate word.
See:
Rationale:
 
      Typical use:
            
        
      
      
      
                  
5 CONSTANT THAT
            \   This is a comment about THAT
          
          
        ContributeContributions
JimPeterson [289] Maybe `REFILL`?Suggested reference implementation2023-02-23 16:26:01
                        
                        
                        [289] Maybe `REFILL`?Suggested reference implementation2023-02-23 16:26:01
                      
                      Is this, effectively: : \ REFILL DROP ; IMMEDIATE ?
The description says "... parse and discard...", but wouldn't simply "... discard..." suffice?  Also, REFILL strongly implies that it operates one line at a time.  Maybe that is specified elsewhere in the spec?
TammoFreese [351] Reuse a test for SOURCE as a starting point for a reference implementationSuggested reference implementation2024-07-25 16:53:47
                        
                        
                        [351] Reuse a test for SOURCE as a starting point for a reference implementationSuggested reference implementation2024-07-25 16:53:47
                      
                      One of the tests of SOURCE (the word GS4) discards the remainder of the parse area using SOURCE >IN ! DROP. Making it immediate may be enough to make it a reference implementation for the backslash word:
: \ SOURCE >IN ! DROP ; IMMEDIATE
