GDCC: An Alternative ACS Compiler [0.15.0]
Posted: Sun Feb 26, 2012 1:00 pm
GDCC, The Game Data Compiler Collection. With respect to ZDoom, it is simply an alternative compiler for ACS bytecode to replace DH-acc. It features a largely complete C11 compiler that can target ZDoom and Zandronum 3.x.
Given that C is specified in an international standard, I do not think an exhaustive list of features over ACS is required, but here are some big ones:
Source: https://github.com/DavidPH/GDCC
Windows builds: https://www.dropbox.com/sh/5wae0ro7vues ... S3qHa?dl=0
Discord server: https://discord.gg/zjydTej
Given that C is specified in an international standard, I do not think an exhaustive list of features over ACS is required, but here are some big ones:
- Advanced flow control using setjmp/jongjmp.
- IEEE single and double precision floating-point types and a nearly complete math.h implementation.
- Data structures, including unions and fully-featured C99 initializer syntax.
- 64 and 96 bit integer types. As well as an extended s31.32 fixed-point type.
- Pointers to both objects and functions.
- Short-circuiting logical expressions.
- Fully-featured C-preprocessor.
- Embedded C address spaces in order to make use of map/world/global variables/arrays.
- Scripts can be called like functions, and extra arguments are passed automatically.
- Special "synchronous script" calling convention that causes the caller to wait for the callee to return.
- Structure types, using a pared down C syntax.
- Enumerations, with C syntax.
- Proper fixed types, enabled by pragma.
- Proper C object-like macros, enabled by pragma.
- Function-like macros.
- Script/function variables are properly scoped to the block they are declared in, enabled by pragma.
Spoiler: Quick Start GuideWiki: http://gdcc.greyserv.net/Main_Page
Source: https://github.com/DavidPH/GDCC
Windows builds: https://www.dropbox.com/sh/5wae0ro7vues ... S3qHa?dl=0
Discord server: https://discord.gg/zjydTej