Talk:Trajedy

From Esolang
Jump to navigation Jump to search

Yet another merge device:

[ ]Q[ ]
       
       
       
       
 L   R 
 \/ \/ 
   \   
       
L  Q  R

However, this one does not easily extend to more than two inputs, unlike the ones used in the stack example program. Int-e (talk) 23:12, 5 March 2017 (UTC)

Can't you trivially put a third one coming straight through the upper Q? --Ørjan (talk) 00:53, 6 March 2017 (UTC)
Indeed you can, which means that you can stack several of these things on top of each other. So it does generalize in a fairly nice way to an arbitrary number of inputs after all, though I still think concentrating all inputs on a single beacon is the superior method. Int-e (talk) 18:41, 6 March 2017 (UTC)
[ | | | ] (in) 
 4             
     extensible
   3   four way
          merge
     2         
               
    \  1       
     \         
     4\        
      3\       
  2  Q/2      Q
        1      
     [ ] (out) 

Anoter design, this one uses just one pair of beacons and a mirror per input, and three beacons and a mirror for output. (Extending it may require moving the right Q further to the right, in which case the upper 1234... have to move up by the same distance) Int-e (talk) 20:21, 6 March 2017 (UTC)
The alternative merge device in the stack example can be extended as well. A more compact version:
→         7
→        6  
→       5   
→      4    
→     3     
→    2          Z
→   1           /     →
            Q\Q Z
             X\/ 
             \ Q/   1
            X      2
                  3
             Y   4
             \ /5
             Y 6
              7
Jafetish (talk) 15:41, 7 March 2017 (UTC)