home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / hp48 / 7437 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.8 KB

  1. Path: sparky!uunet!UB.com!pacbell.com!ames!agate!spool.mu.edu!howland.reston.ans.net!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!fuug!funic!sauna.cs.hut.fi!news.cs.hut.fi!mheiskan
  2. From: mheiskan@hut.fi (Mika Heiskanen)
  3. Newsgroups: comp.sys.hp48
  4. Subject: Re: What is a META ???
  5. Date: 28 Jan 93 18:09:35 GMT
  6. Organization: Helsinki University of Technology, Finland
  7. Lines: 45
  8. Distribution: inet
  9. Message-ID: <MHEISKAN.93Jan28200935@lk-hp-5.hut.fi>
  10. References: <1k7jn7INNmev@aurora.engr.LaTech.edu>
  11. Reply-To: mheiskan@vipunen.hut.fi
  12. NNTP-Posting-Host: lk-hp-5.hut.fi
  13. In-reply-to: ramos@engr.LaTech.edu's message of 28 Jan 1993 03:25:27 GMT
  14.  
  15.  
  16. In article <1k7jn7INNmev@aurora.engr.LaTech.edu> ramos@engr.LaTech.edu (Alex Ramos) writes:
  17.  
  18. >The file entries.all (a new version recently on seq.uncwil.edu) lists
  19. >several entry points to handle "meta objects".
  20. >However, RPLMAN.DOC doesn't even mention them. I don't have a clue what
  21. >they are.
  22.  
  23. Oops, I seem to have assumed the explanation was somewhere.
  24.  
  25. A meta object is what you get when you explode a composite object.
  26.  
  27. Example: { %1 %2 } <INNERCOMP> --> %1 %2 TWO
  28.      '1+2'       <INNERCOMP> --> %1 %2 + THREE
  29.  
  30. The stack scheme ( Meta1 Ob Meta2 ) could thus mean for example
  31.  
  32. 5: %1    \
  33. 4: %2      Meta1
  34. 3: TWO     /
  35. 2: %0    - Ob
  36. 1: ZERO    - Meta2 (Empty)
  37.  
  38. The stack scheme for top&
  39.  
  40.     ( Meta1 Meta2 --> Meta1&Meta2 )
  41.  
  42. means that the meta objects have been combined just be adding their 'length
  43. fields' e.g the binary numbers together.
  44.  
  45. And for addt+
  46.  
  47.     ( Meta --> Meta&+ )
  48.  
  49. means that '+' has been added to the meta object by pushing '+' to stack level
  50. 2 and by incrementing the count.
  51.  
  52. ( Thus :: top& addt+ ; would be a very simple adding routine )
  53.  
  54. In general handling meta objects is faster since building & exploding
  55. composites is time expensive. All low level symbolics handling is done via
  56. meta objects.
  57.  
  58. --
  59. --> mheiskan@vipunen.hut.fi
  60.