Difference between revisions of "How to write Ackis Modules in D"
From Makers Local 256
(created beginners guide for programming D modules for ackis) |
m (→Setup: simplify page and add a link to instructions for building GDC) |
||
Line 5: | Line 5: | ||
* Have a flavor of linux running | * Have a flavor of linux running | ||
* Install build-essentials | * Install build-essentials | ||
− | * Install gdc 4.3.1 | + | * Install gdc 4.3.1 via the instructions on [http://bitbucket.org/goshawk/gdc/wiki/Home goshawk's gdc page]. |
− | + | * Install dsss (a D program requiring GDC to be built) | |
− | + | ||
− | * Install dsss | + | |
== About each component == | == About each component == |
Revision as of 09:53, 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-essentials
- 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 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