跨平台的D语言开发工具:Coedit

jopen 10年前

Coedit 是一个为 D 语言开发的简单集成开发环境 (Co mpile & Edit). 采用 Pascal 语言开发。

特性:

  • 支持多平台 (Win/Linux).

  • full featured project format and advanced project editor.

  • compile and run directly from the UI.

  • instant run (without saving, script-like).

  • synchronized edition in a block.

  • D2 syntax highlighter, folding, identifier markup.

  • module symbol list.

  • static libraries manager.

  • search and replace.

  • "todo comment" analyzer.

  • user-defined tools powered by a string interpolation system.

  • D Completion Daemon integration for completion proposal and source code hints.

  • mini file browser.

D 语言示例代码:

#!/usr/bin/env rdmd  // Computes average line length for standard input.  import std.stdio;     void main()  {      ulong lines = 0;      double sumLength = 0;      foreach (line; stdin.byLine())      {          ++lines;          sumLength += line.length;      }      writeln("Average line length: ",          lines ? sumLength / lines : 0);  }

项目主页:http://www.open-open.com/lib/view/home/1422068092484