Loading-All-of-Standard-Input-at-Once.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <html lang="en">
  2. <head>
  3. <title>Loading All of Standard Input at Once - avram - a virtual machine code interpreter</title>
  4. <meta http-equiv="Content-Type" content="text/html">
  5. <meta name="description" content="avram - a virtual machine code interpreter">
  6. <meta name="generator" content="makeinfo 4.13">
  7. <link title="Top" rel="start" href="index.html#Top">
  8. <link rel="up" href="Filter-Mode-Interface.html#Filter-Mode-Interface" title="Filter Mode Interface">
  9. <link rel="prev" href="Filter-Mode-Interface.html#Filter-Mode-Interface" title="Filter Mode Interface">
  10. <link rel="next" href="Line-Maps.html#Line-Maps" title="Line Maps">
  11. <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
  12. <meta http-equiv="Content-Style-Type" content="text/css">
  13. <style type="text/css"><!--
  14. pre.display { font-family:inherit }
  15. pre.format { font-family:inherit }
  16. pre.smalldisplay { font-family:inherit; font-size:smaller }
  17. pre.smallformat { font-family:inherit; font-size:smaller }
  18. pre.smallexample { font-size:smaller }
  19. pre.smalllisp { font-size:smaller }
  20. span.sc { font-variant:small-caps }
  21. span.roman { font-family:serif; font-weight:normal; }
  22. span.sansserif { font-family:sans-serif; font-weight:normal; }
  23. --></style>
  24. </head>
  25. <body>
  26. <div class="node">
  27. <a name="Loading-All-of-Standard-Input-at-Once"></a>
  28. <p>
  29. Next:&nbsp;<a rel="next" accesskey="n" href="Line-Maps.html#Line-Maps">Line Maps</a>,
  30. Previous:&nbsp;<a rel="previous" accesskey="p" href="Filter-Mode-Interface.html#Filter-Mode-Interface">Filter Mode Interface</a>,
  31. Up:&nbsp;<a rel="up" accesskey="u" href="Filter-Mode-Interface.html#Filter-Mode-Interface">Filter Mode Interface</a>
  32. <hr>
  33. </div>
  34. <h4 class="subsection">2.5.1 Loading All of Standard Input at Once</h4>
  35. <p>Unless <samp><span class="option">--line-map</span></samp> or <samp><span class="option">--byte-transducer</span></samp> is used as a
  36. <a name="index-g_t_0040code_007bline_002dmap_007d-command-line-option-175"></a><a name="index-g_t_0040code_007bbyte_002dtransducer_007d-command-line-option-176"></a><a name="index-standard-input-177"></a>command line option when the application is invoked, the contents of
  37. standard input are loaded entirely into memory by <code>avram</code> before
  38. evaluation of the virtual code begins. This interface is obviously not
  39. <a name="index-infinite-streams-178"></a>appropriate for infinite streams.
  40. <p>The virtual code application in this mode of operation is treated as a
  41. single function taking the entire contents of standard input as its argument,
  42. and returning the entire contents of standard output as its result.
  43. Hence, this interface is one of the simplest available.
  44. <ul class="menu">
  45. <li><a accesskey="1" href="Standard-Input-Representation.html#Standard-Input-Representation">Standard Input Representation</a>
  46. <li><a accesskey="2" href="Standard-Output-Representation.html#Standard-Output-Representation">Standard Output Representation</a>
  47. </ul>
  48. </body></html>