Difference between revisions of "How to write Ackis Modules in D"
From Makers Local 256
m (→Setup: more comments) |
m (→About each component: added clearer section title) |
||
Line 8: | Line 8: | ||
* Install dsss (a D program requiring GDC to be built) | * Install dsss (a D program requiring GDC to be built) | ||
− | == About each component == | + | == About each development component == |
* D is a programming language very similar to C++. | * D is a programming language very similar to C++. | ||
** For example code see [[Ackis2.0#D_Implementation_by_Opticron]] | ** For example code see [[Ackis2.0#D_Implementation_by_Opticron]] | ||
* GDC is a front end D interface for GCC. This will translate the D syntax into something the GCC compiler can understand. | * GDC is a front end D interface for GCC. This will translate the D syntax into something the GCC compiler can understand. | ||
* DSSS is a simple way to build your files. It will read through all of your 'import' lines in your code so that all you'll need to do is type "dsss build" in the same directory as your D program, and it will output your compiled program | * DSSS is a simple way to build your files. It will read through all of your 'import' lines in your code so that all you'll need to do is type "dsss build" in the same directory as your D program, and it will output your compiled program |
Revision as of 10:24, 25 January 2010
Description
This page is meant as a how to guide for the beginner Ackis D Module Programmer. The intention is to write this from a beginner level. No claims are made that this is the only way to approach writing an ackis Module.
Setup
- Have a flavor of linux running
- Install build-essential, libmpfr-dev, and libgmp3-dev (required to build gdc)
- Install gdc 4.3.1 via the instructions on goshawk's gdc page.
- Install dsss (a D program requiring GDC to be built)
About each development component
- D is a programming language very similar to C++.
- For example code see Ackis2.0#D_Implementation_by_Opticron
- GDC is a front end D interface for GCC. This will translate the D syntax into something the GCC compiler can understand.
- DSSS is a simple way to build your files. It will read through all of your 'import' lines in your code so that all you'll need to do is type "dsss build" in the same directory as your D program, and it will output your compiled program