mirror of
				https://github.com/flynx/Slang.git
				synced 2025-10-31 11:30:13 +00:00 
			
		
		
		
	updated the logic operators -- thanks to Anna Puchkina for pointing out that my implementation was way too over-comlicated ;)
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									3cc915c553
								
							
						
					
					
						commit
						1db04d7f16
					
				| @ -670,8 +670,8 @@ var BOOTSTRAP = [ | ||||
| '', | ||||
| '-- we already have gt and eq, now let\'s define the rest...', | ||||
| ':: ne ( a b -- c ) [ eq not ]', | ||||
| ':: lt ( a b -- c ) [ dup2 eq not rot gt not tor and ]', | ||||
| ':: ge ( a b -- c ) [ dup2 eq rot gt tor or ]', | ||||
| ':: lt ( a b -- c ) [ swap gt ]', | ||||
| ':: ge ( a b -- c ) [ lt not ]', | ||||
| ':: le ( a b -- c ) [ gt not ]', | ||||
| '', | ||||
| ':: inc ( a -- b ) [ 1 add ]', | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user