D-coding

所属分类:开发工具
开发工具:D
文件大小:0KB
下载次数:0
上传日期:2016-03-28 19:50:27
上 传 者sh-1993
说明:  用D编程语言编写的基本工具,用于学习该语言并测试想法,
(Basic tools written in the D programming language, to learn the language and test out idea s,)

文件列表:
additional/ (0, 2016-03-28)
additional/DLLonPATH.bat (26, 2016-03-28)
additional/Rakefile (9343, 2016-03-28)
additional/unsorted/ (0, 2016-03-28)
additional/unsorted/core/ (0, 2016-03-28)
additional/unsorted/core/arrays/ (0, 2016-03-28)
additional/unsorted/core/arrays/ranges.d (848, 2016-03-28)
additional/unsorted/core/cpu.d (842, 2016-03-28)
additional/unsorted/core/events/ (0, 2016-03-28)
additional/unsorted/core/events/clockevents.d (2156, 2016-03-28)
additional/unsorted/core/events/engine.d (1252, 2016-03-28)
additional/unsorted/core/events/keyevent.d (1119, 2016-03-28)
additional/unsorted/core/events/mouseevent.d (1346, 2016-03-28)
additional/unsorted/core/events/networkevent.d (1085, 2016-03-28)
additional/unsorted/core/events/soundevent.d (712, 2016-03-28)
additional/unsorted/core/hex.d (1270, 2016-03-28)
additional/unsorted/core/terminal.d (3233, 2016-03-28)
additional/unsorted/core/typedefs/ (0, 2016-03-28)
additional/unsorted/core/typedefs/manuscript.d (2705, 2016-03-28)
additional/unsorted/core/typedefs/mimetypes.d (2545, 2016-03-28)
additional/unsorted/core/typedefs/webtypes.d (4485, 2016-03-28)
additional/unsorted/gameengine/ (0, 2016-03-28)
additional/unsorted/gameengine/game/ (0, 2016-03-28)
additional/unsorted/gameengine/game/engine.d (4519, 2016-03-28)
additional/unsorted/gameengine/game/games/ (0, 2016-03-28)
additional/unsorted/gameengine/game/games/empty.d (993, 2016-03-28)
additional/unsorted/gameengine/game/games/mapmove.d (1413, 2016-03-28)
additional/unsorted/gameengine/game/games/servergame.d (4293, 2016-03-28)
additional/unsorted/gameengine/game/games/triggerpull.d (3178, 2016-03-28)
additional/unsorted/gameengine/game/mover.d (942, 2016-03-28)
additional/unsorted/gameengine/game/path.d (781, 2016-03-28)
additional/unsorted/gameengine/game/player.d (4196, 2016-03-28)
additional/unsorted/gameengine/game/search.d (6315, 2016-03-28)
additional/unsorted/gameengine/game/searchnode.d (1229, 2016-03-28)
additional/unsorted/gameengine/game/server/ (0, 2016-03-28)
additional/unsorted/gameengine/game/server/clientcommand.d (7665, 2016-03-28)
additional/unsorted/gameengine/game/server/clienthandler.d (4416, 2016-03-28)
additional/unsorted/gameengine/game/server/gameserver.d (5255, 2016-03-28)
... ...

D-coding -------- Basic tools written in the D programming language, to learn the language and test out idea's Installation ------------ Download and install DMD for D language 2.0+ (http://dlang.org/download.html), also get Ruby 1.9.1 (or higher) preferably with GEM (http://www.ruby-lang.org/) and install Rake (http://rake.rubyforge.org/). Some libraries and/or examples require external libraries: - (Optional for GUI) Download and install SDL for your platform (http://www.libsdl.org/) - (R for Statistics) Download and install R for your platform (http://www.r-project.org/) - (Aligner) Download and install BLAST (ftp://ftp.ncbi.nlm.nih.gov/blast/) - (GNUplot) Download and install GNUplot (http://www.gnuplot.info/download.html) Dependencies ------------ Under Linux run, switch to super user and install the following packages: $ apt-get install r-base liblapack-dev libblas-dev $ apt-get install libsdl1.2-dev libopenal-dev libalut-dev libsdl-image1.2-dev When using Windows put the 32bit DLLs on your PATH by executing the provided .bat file: $ cd /D-coding $ DLLonPATH.bat Compilation ----------- Compile using rake and dmd on your %PATH%: $ rake -T # List all possible build and test options $ rake app: # Build single standalone application $ rake build # Build all applications $ rake unittest # Run the unit tests Applications ------------ The provided applications are itself are not that interesting, and sometimes far from finished, however here a short description on what they are supposed to do: - actor : Testing D2.0 actors - aligner: Performs blastn on raw DNA sequences to a whole genome sequences in a fasta file - correlation: Calculate correlation between vectors - csc : Caesar subsitution cipher in ASM - dnacode: Translates an input sequence in DNA to Anti, mRNA and possible proteins - GNUplot: Use GNUplot to visualize data from D2.0 vector and matrix objects - gameserver: Basic gameserver using a custom protocol - sdl: OS independent SDL OpenGL platform for testing D <-> SDL <-> OpenGL bindings - ostest: Testing operating system cmdline functionality - plang: Implementation of a P'' interpreter - regression: Multiple regression adapted from MQM routine - fileloader: High speed big data file loading using the D language - httpreader: Basic HTTP slurper - httpserver: Basic try at a HTTP server To build an application simply run: ``` $ rake app:aligner $ rake app:correlation $ rake app:csc $ rake app:dnacode $ rake app:ostest $ rake app:plang $ rake app:startJVM $ rake app:regression $ rake app:correlation $ rake app:gameserver $ rake app:sdl ``` Want to contribute? Great! ------------ 1. Clone it. 2. Compile it. 3. Run it. 4. Modify some code. (Search -> 'TODO') 5. Go back to 2, or 6. Submit a patch You can also just post comments on code / commits. Danny Arends Disclaimer ---------- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 3, as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License, version 3, for more details. A copy of the GNU General Public License, version 3, is available at [http://www.r-project.org/Licenses/GPL-3](http://www.r-project.org/Licenses/GPL-3 "GPL-3 Licence") Copyright (c) 2012 [Danny Arends](http://www.dannyarends.nl)

近期下载者

相关文件


收藏者