mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	* Add fift-based disassembler * Fift improvements: namespaces, hashmaps, flow controls * Fift: add lib with better block structuring and more * Minor changes in fift HashMap + tests (#643) * Minor changes in fift HashMap * Add tests for extended fift --------- Co-authored-by: OmicronTau <omicron@ton.org> Co-authored-by: Tolya <1449561+tolya-yanot@users.noreply.github.com> Co-authored-by: SpyCheese <mikle98@yandex.ru>
		
			
				
	
	
		
			29 lines
		
	
	
		
			No EOL
		
	
	
		
			631 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			No EOL
		
	
	
		
			631 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| namespace My
 | |
| 
 | |
| "a" constant a
 | |
| "b" constant b
 | |
| "c" constant c
 | |
| 
 | |
| a b c .s { drop } 3 times // "a" "b" "c"
 | |
| 
 | |
| My definitions
 | |
| "b-my" constant b
 | |
| "c-my" constant c
 | |
| "d-my" constant d
 | |
| 
 | |
| a b c d .s { drop } 4 times // "a" "b-my" "c-my" "d-my"
 | |
| 
 | |
| Fift definitions
 | |
| a b c .s { drop } 3 times // "a" "b-my" "c-my" "d-my"
 | |
| 
 | |
| My b My c My d .s { drop } 3 times // "b-my" "c-my" "d-my"
 | |
| a b c .s { drop } 3 times // "a" "b" "c" "d"
 | |
| 
 | |
| My definitions
 | |
| a b c d .s { drop } 4 times // "a" "b-my" "c-my" "d-my"
 | |
| Fift a Fift b Fift c d .s { drop } 4 times // "a" "b" "c" "d-my"
 | |
| 
 | |
| Fift definitions
 | |
| cr
 | |
| My-wordlist @
 | |
| { drop type -1 } hmapforeach drop cr // "b " "d " "c " |