comment on the nature of truth and falsehood
This commit is contained in:
		@@ -7,7 +7,13 @@ import (
 | 
			
		||||
	"os"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
// FALSE is a flag for, what else, false
 | 
			
		||||
var FALSE = 0
 | 
			
		||||
 | 
			
		||||
// TRUE is a flag for, what else, true.
 | 
			
		||||
// It's -1 because historically, FORTHs would define TRUE as "all bits set to 1 in a cell",
 | 
			
		||||
// and interpreting that literally flips the sign flag in a signed integer.
 | 
			
		||||
// More generally, TRUE is defined as "not FALSE" for most purposes, and any non-zero integer will work.
 | 
			
		||||
var TRUE = -1
 | 
			
		||||
 | 
			
		||||
// Builtins is a handy holder for our various default words
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user