Building A-code games from intermediate C sources

Contents


Derived C sources

A-code games are, naturally enough, written in A-code, but as the first step of building an executable out of the A-code source, my A-code-to-C translator creates self-contained, intermediate ANSI C source, which can be then compiled and linked as any C program would be. This allows A-code games to be distributed in a highly portable C-source format.

I assume that you already have an A-code game C source, either from one of the A-code games adventure downloads page, or as the result of translating some A-code source by running acdc. If so, all you need now is an ANSI C compiler, though a pre-ANSI (K&R) compiler would probably do too.


Building an executable from the C sources


Glk library

If you don't have a Glk library, you can try using these Glk bundles -- one for Linux and one for Windows.


Back to A-code page
Back to main page
Mike Arnautov, Tuesday, 01-Jan-2008 05:17:33 MST