mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-10-10 02:47:23 +00:00
- adding Platform.LittleEndian to centralize endianness detection - using SYSTEM.GET with correct byte offset for HUGEINT to smaller type reads on big-endian - fixing Reals.BytesToHex iteration direction and InitEndian for big-endian - fixing oocLowReal fraction, IsInfinity, IsNaN using Reals.Expo/SetExpo - fixing Math.ToREAL and MathL.exponent for big-endian - fixing In.Int and In.LongInt for big-endian - fixing outtest.wh byte iteration direction for big-endian - regenerating all bootstrap C sources - tested on ppc32
28 lines
478 B
C
28 lines
478 B
C
/* voc 2.1.0 [2026/07/12]. Bootstrapping compiler for address size 8, alignment 8. xrtspaSF */
|
|
|
|
#ifndef OPS__h
|
|
#define OPS__h
|
|
|
|
#include "SYSTEM.h"
|
|
|
|
typedef
|
|
CHAR OPS_Name[256];
|
|
|
|
typedef
|
|
CHAR OPS_String[1024];
|
|
|
|
|
|
import OPS_Name OPS_name;
|
|
import OPS_String OPS_str;
|
|
import INT16 OPS_numtyp;
|
|
import INT64 OPS_intval;
|
|
import REAL OPS_realval;
|
|
import LONGREAL OPS_lrlval;
|
|
|
|
|
|
import void OPS_Get (INT8 *sym);
|
|
import void OPS_Init (void);
|
|
import void *OPS__init(void);
|
|
|
|
|
|
#endif // OPS
|