Rutgers ALGOL 68: Difference between revisions

→‎Building and running under Windows: Added dummy sys/times.h for compilers that don't have one.
(→‎Building and running under Windows: Added dummy sys/times.h for compilers that don't have one.)
Line 58:
 
cd ..</lang>
 
Note that the interpreter requires &lt;sys/times.h&gt;, the TCC compiler used in the batch file above did not have one, the following dummy times.h can be used. If needed it should be placed in a sub-folder of the installation folder, called '''sys'''.
 
<lang C>// times.h for RutgersAlgol68 - not a real timss.h
#include <time.h>
#define times(x) (unsigned) time(x)
// end RutgersAlgol68 times.h</lang>
 
The following batch file can be used to execute the interpreter with an upper-stropping source (as used by most of the samples on RC):
Line 113 ⟶ 120:
 
The prelude.r68, postlude.r68 and upperToQuote.r68 soureces used by the above batch-file should be placed in the installation folder (\algolRutgersAlgol8 is assumed here). They are in the following sections on Using upper-stropping and Additional prelude items.
 
 
=== Using upper stropping ===
3,037

edits