D Language Tutorial
Posted: Thu Jul 02, 2009 12:51 pm
For Zeus to work with D you will need to install one of the D compilers found here: https://dlang.org/download.html
For more details regarding the D compiler refer to the D website: https://dlang.org/dmd-windows.html
With the compiler installed, use the Options, Document Types menu, edit the D Document Type and add the D compiler command line to the Compiler section.
This command line will depend on which D compiler that was installed. For example, a typical command line for the LDC compiler would be as follows:
NOTE: In this command line the $fn is a Zeus tag value and it will be replaced by details of the currently active file.
With that command line in place, a D file can be compiled by opening the file in the editor and using the Compiler, Compile menu to run the compiler.
NOTE: Other Zeus, D language specific features can be found here:
DCD Zeus Autocomplete
Running dfmt on Zeus File Save
Using Dscanner Inside Zeus
For more details regarding the D compiler refer to the D website: https://dlang.org/dmd-windows.html
With the compiler installed, use the Options, Document Types menu, edit the D Document Type and add the D compiler command line to the Compiler section.
This command line will depend on which D compiler that was installed. For example, a typical command line for the LDC compiler would be as follows:
Code: Select all
ldc2.exe -gdwarf "$fn"
With that command line in place, a D file can be compiled by opening the file in the editor and using the Compiler, Compile menu to run the compiler.
NOTE: Other Zeus, D language specific features can be found here:
DCD Zeus Autocomplete
Running dfmt on Zeus File Save
Using Dscanner Inside Zeus