🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #233871

--

#233871
From: _
Date: Sat, 20 Jun 2009 02:50
31 lines
2844 bytes
My code mixes Chinese, Russian, English and graphics chars.
Unicode tokens(identifiers) in source code is wonderful; for example:
[ from  www.JeffRelf.F-M.FM/X.CPP ]
  struct  NymT {  LnP  Name ; int  Expired, Muffle ;  NmT  rigNyms ;
    int  Cnt, cnt·toMe, cnt·unReads ;
    int cnt·wasReads, cnt·Votes, hardRank, Regular, i·xRank ; 
    double  Tally, xRank ; float  ageYoungest, ageOldest ;  };

  template < typename TyT, typename TyA, typename TyP >
  TyP & ✚✚( TyT  & Xx, int N ) {  int rv, Temp_Heap = N >= 0 ;
  
    if ( ! Temp_Heap )  N = 1 ;
    int  I_PP = ! Xx.PP ? -1 : Xx.PP - Xx.BB ;
    int I_EE = Xx.EE - Xx.BB, I_PP_New = I_PP + N ;
    
    if ( I_PP_New >= I_EE ) {
    
      int  Sz = 16 + ( rv = ER( 1024, I_PP_New * 3 ) ) * szPtr ;
      Xx.EE = rv + ( Xx.BB = ( TyA ) (
         Temp_Heap ? _HeapReAlloc( Heap, 0, Xx.BB, Sz )
                   : ReAlloc( Xx.BB, Sz ) ) );  }
    return  * ( Xx.PP = Xx.BB + I_PP_New );  }

  NmP & ✚✚( NmT & Nm ) {  return ✚✚< NmT, NmA, NmP> ( Nm, 1 ) ;  }
  LsP & ✚✚( LsT & Ls ) {  return ✚✚< LsT, LsA, LsP> ( Ls, 1 ) ;  }
  LnP & ✚✚( LnT & Ln ) {  return ✚✚< LnT, LnA, LnP> ( Ln, 1 ) ;  }
  LnP & ✚✚( LnT & Ln, int N ) {  return ✚✚< LnT, LnA, LnP> ( Ln, N ); }
  TbP & ✚✚( TbT & Tb ) {  return ✚✚< TbT, TbA, TbP> ( Tb, -1 ) ;  }
  SrP & ✚✚( SrT & Sr ) {  return ✚✚< SrT, SrA, SrP> ( Sr, -1 ) ;  }
  GyP & ✚✚( GyT & Gy ) {  return ✚✚< GyT, GyA, GyP> ( Gy, -1 ) ;  }
  CaP & ✚✚( CaT & Ca ) {  return ✚✚< CaT, CaA, CaP> ( Ca, -1 ) ;  }
Technical Details
Message-ID: <_@Jeff_Relf.Seattle.2009_Jun19.7.50pm.pv>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!news.glorb.com!news-spur2.glorb.com!homer.glorb.com!not-for-mail
References: <Xns9C27572405CA3xs11emailinatorcom@127.0.0.1> <Xns9C27830058746wunderpsdrscray@138.126.254.210> <Xns9C27BCAB2A054uniquelyme@nntp.motzarella.org> <slrnh3ii5n.ulr.pjr@pjr.gotdns.org> <Xns9C2E595578D28duckrulestheuniverse@nomail.afraid.org> <slrnh3ofbm.kn7.pjr@pjr.gotdns.org>

Show Full Headers
Complete Article Headers
Message-ID: <_@Jeff_Relf.Seattle.2009_Jun19.7.50pm.pv>
Subject: --
Date: Sat, 20 Jun 2009 02:50:54 +0000
From: _@Jeff_Relf.Seattle.inValid
References: <Xns9C27572405CA3xs11emailinatorcom@127.0.0.1> <Xns9C27830058746wunderpsdrscray@138.126.254.210> <Xns9C27BCAB2A054uniquelyme@nntp.motzarella.org> <slrnh3ii5n.ulr.pjr@pjr.gotdns.org> <Xns9C2E595578D28duckrulestheuniverse@nomail.afraid.org> <slrnh3ofbm.kn7.pjr@pjr.gotdns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!news.glorb.com!news-spur2.glorb.com!homer.glorb.com!not-for-mail
Newsgroups: news.software.readers
Organization: Glorb Internet Services, http://www.glorb.com
Lines: 31
NNTP-Posting-Host: mHXXPRDs5ZrOsRJ/+7FSlA.user.posting2.glorb.com
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@glorb.com
NNTP-Posting-Date: Sat, 20 Jun 2009 02:50:54 +0000 (UTC)
X-Notice: Scanned by Mr. Bill
User-Agent: JeffRelf.F-M.FM/X.ZIP