Skip to content
This repository
tree: e06a83e934
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 56 lines (49 sloc) 1.243 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
/* j/3/mas.c
**
** This file is in the public domain.
*/
#include "all.h"
#include "../pit.h"

/* functions
*/
  u2_weak // transfer
  j2_mbc(Pt3, mas)(u2_wire wir_r,
                   u2_atom a) // retain
  {
    c3_w b_w;
    u2_atom c, d, e, f;

    b_w = u2_met(0, a);
    if ( b_w < 2 ) {
      return u2_none;
    }
    else {
      c = j2_mbc(Pt1, bex)(wir_r, (b_w - 1));
      d = j2_mbc(Pt1, bex)(wir_r, (b_w - 2));
      e = j2_mbc(Pt1, sub)(wir_r, a, c);
      f = j2_mbc(Pt3, con)(wir_r, e, d);
 
      u2_rl_lose(wir_r, c);
      u2_rl_lose(wir_r, d);
      u2_rl_lose(wir_r, e);

      return f;
    }
  }
  u2_weak // transfer
  j2_mb(Pt3, mas)(u2_wire wir_r,
                  u2_noun cor) // retain
  {
    u2_noun a;

    if ( (u2_none == (a = u2_frag(u2_cw_sam, cor))) ||
         (u2_no == u2_stud(a)) )
    {
      return u2_none;
    } else {
      return j2_mbc(Pt3, mas)(wir_r, a);
    }
  }

/* structures
*/
  u2_ho_jet
  j2_mbj(Pt3, mas)[] = {
    { ".3", c3__lite, j2_mb(Pt3, mas), Tier3, u2_none, u2_none },
    { }
  };
Something went wrong with that request. Please try again.