Initial revision
authorceriel <none@none>
Fri, 6 Mar 1987 09:02:15 +0000 (09:02 +0000)
committerceriel <none@none>
Fri, 6 Mar 1987 09:02:15 +0000 (09:02 +0000)
lang/cem/cemcom/BigPars [new file with mode: 0644]
lang/cem/cemcom/SmallPars [new file with mode: 0644]

diff --git a/lang/cem/cemcom/BigPars b/lang/cem/cemcom/BigPars
new file mode 100644 (file)
index 0000000..00972e5
--- /dev/null
@@ -0,0 +1,130 @@
+!File: pathlength.h
+#define PATHLENGTH     1024    /* max. length of path to file          */
+
+
+!File: idepth.h
+#define        IDEPTH          100     /* maximum nr of stacked input buffers  */
+
+
+!File: errout.h
+#define        ERROUT          STDERR  /* file pointer for writing messages    */
+#define        MAXERR_LINE     5       /* maximum number of error messages given
+                                       on the same input line.         */
+
+
+!File: idfsize.h
+#define        IDFSIZE 64      /* maximum significant length of an identifier  */
+
+
+!File: numsize.h
+#define        NUMSIZE 256     /* maximum length of a numeric constant         */
+
+
+!File: nparams.h
+#define        NPARAMS 32      /* maximum number of parameters of macros       */
+
+
+!File: ifdepth.h
+#define        IFDEPTH 256     /* maximum number of nested if-constructions    */
+
+
+!File: maxincl.h
+#define        MAXINCL 12      /* maximum number of #include directories       */
+
+
+!File: density.h
+#define        DENSITY 2       /* see switch.[ch] for an explanation           */
+
+
+!File: lapbuf.h
+#define        LAPBUF  4096    /* size of macro actual parameter buffer        */
+
+
+!File: strsize.h
+#define ISTRSIZE       32      /* minimum number of bytes allocated for
+                                       storing a string                */
+#define RSTRSIZE       8       /* step size in enlarging the memory for
+                                       the storage of a string         */
+
+
+!File: target_sizes.h
+#define MAXSIZE                8       /* the maximum of the SZ_* constants    */
+
+/* target machine sizes        */
+#define        SZ_CHAR         (arith)1
+#define        SZ_SHORT        (arith)2
+#define SZ_WORD                (arith)4
+#define        SZ_INT          (arith)4
+#define        SZ_LONG         (arith)4
+#ifndef NOFLOAT
+#define        SZ_FLOAT        (arith)4
+#define        SZ_DOUBLE       (arith)8
+#endif NOFLOAT
+#define        SZ_POINTER      (arith)4
+
+/* target machine alignment requirements       */
+#define        AL_CHAR         1
+#define        AL_SHORT        SZ_SHORT
+#define AL_WORD                SZ_WORD
+#define        AL_INT          SZ_WORD
+#define        AL_LONG         SZ_WORD
+#ifndef NOFLOAT
+#define        AL_FLOAT        SZ_WORD
+#define        AL_DOUBLE       SZ_WORD
+#endif NOFLOAT
+#define        AL_POINTER      SZ_WORD
+#define AL_STRUCT      1
+#define AL_UNION       1
+
+
+!File: botch_free.h
+#undef BOTCH_FREE      1       /* botch freed memory, as a check       */
+
+
+!File: dataflow.h
+#define DATAFLOW       1       /* produce some compile-time xref       */
+
+
+!File: debug.h
+#undef DEBUG           1       /* perform various self-tests           */
+
+
+!File: use_tmp.h
+#define USE_TMP                1       /* collect exa, exp, ina and inp commands
+                                       and let them precede the rest of
+                                       the generated compact code      */
+
+
+!File: parbufsize.h
+#define PARBUFSIZE     1024
+
+
+!File: textsize.h
+#define ITEXTSIZE      8       /* 1st piece of memory for repl. text   */
+#define RTEXTSIZE      8       /* stepsize for enlarging repl.text     */
+
+
+!File: inputtype.h
+#undef INP_READ_IN_ONE 1       /* read input file in one       */
+
+
+!File: nopp.h
+#undef NOPP            1       /* use built-int preprocessor   */
+
+
+!File: nobitfield.h
+#undef NOBITFIELD      1       /* implement bitfields  */
+
+
+!File: spec_arith.h
+/* describes internal compiler arithmetics */
+#undef SPECIAL_ARITHMETICS     /* something different from native long */
+
+
+!File: static.h
+#define GSTATIC                        /* for large global "static" arrays */
+
+
+!File: nofloat.h
+#undef NOFLOAT                 /* floats implemented by default */
+
diff --git a/lang/cem/cemcom/SmallPars b/lang/cem/cemcom/SmallPars
new file mode 100644 (file)
index 0000000..7ae22dd
--- /dev/null
@@ -0,0 +1,126 @@
+!File: pathlength.h
+#define PATHLENGTH     1024    /* max. length of path to file          */
+
+
+!File: errout.h
+#define        ERROUT          STDERR  /* file pointer for writing messages    */
+#define        MAXERR_LINE     5       /* maximum number of error messages given
+                                       on the same input line.         */
+
+
+!File: idfsize.h
+#define        IDFSIZE 64      /* maximum significant length of an identifier  */
+
+
+!File: numsize.h
+#define        NUMSIZE 256     /* maximum length of a numeric constant         */
+
+
+!File: nparams.h
+#define        NPARAMS 32      /* maximum number of parameters of macros       */
+
+
+!File: ifdepth.h
+#define        IFDEPTH 256     /* maximum number of nested if-constructions    */
+
+
+!File: maxincl.h
+#define        MAXINCL 12      /* maximum number of #include directories       */
+
+
+!File: density.h
+#define        DENSITY 2       /* see switch.[ch] for an explanation           */
+
+
+!File: lapbuf.h
+#define        LAPBUF  4096    /* size of macro actual parameter buffer        */
+
+
+!File: strsize.h
+#define ISTRSIZE       32      /* minimum number of bytes allocated for
+                                       storing a string                */
+#define RSTRSIZE       8       /* step size in enlarging the memory for
+                                       the storage of a string         */
+
+
+!File: target_sizes.h
+#define MAXSIZE                8       /* the maximum of the SZ_* constants    */
+
+/* target machine sizes        */
+#define        SZ_CHAR         (arith)1
+#define        SZ_SHORT        (arith)2
+#define SZ_WORD                (arith)4
+#define        SZ_INT          (arith)4
+#define        SZ_LONG         (arith)4
+#ifndef NOFLOAT
+#define        SZ_FLOAT        (arith)4
+#define        SZ_DOUBLE       (arith)8
+#endif NOFLOAT
+#define        SZ_POINTER      (arith)4
+
+/* target machine alignment requirements       */
+#define        AL_CHAR         1
+#define        AL_SHORT        SZ_SHORT
+#define AL_WORD                SZ_WORD
+#define        AL_INT          SZ_WORD
+#define        AL_LONG         SZ_WORD
+#ifndef NOFLOAT
+#define        AL_FLOAT        SZ_WORD
+#define        AL_DOUBLE       SZ_WORD
+#endif NOFLOAT
+#define        AL_POINTER      SZ_WORD
+#define AL_STRUCT      1
+#define AL_UNION       1
+
+
+!File: botch_free.h
+#undef BOTCH_FREE      1       /* botch freed memory, as a check       */
+
+
+!File: dataflow.h
+#undef DATAFLOW        1       /* produce some compile-time xref       */
+
+
+!File: debug.h
+#undef DEBUG           1       /* perform various self-tests           */
+
+
+!File: use_tmp.h
+#define USE_TMP                1       /* collect exa, exp, ina and inp commands
+                                       and let them precede the rest of
+                                       the generated compact code      */
+
+
+!File: parbufsize.h
+#define PARBUFSIZE     1024
+
+
+!File: textsize.h
+#define ITEXTSIZE      8       /* 1st piece of memory for repl. text   */
+#define RTEXTSIZE      8       /* stepsize for enlarging repl.text     */
+
+
+!File: inputtype.h
+#undef INP_READ_IN_ONE 1       /* read input file in one       */
+
+
+!File: nopp.h
+#define NOPP           1       /* use built-int preprocessor   */
+
+
+!File: nobitfield.h
+#undef NOBITFIELD      1       /* implement bitfields  */
+
+
+!File: spec_arith.h
+/* describes internal compiler arithmetics */
+#undef SPECIAL_ARITHMETICS     /* something different from native long */
+
+
+!File: static.h
+#define GSTATIC                        /* for large global "static" arrays */
+
+
+!File: nofloat.h
+#undef NOFLOAT                 /* floats implemented by default */
+