Re: Miscelaneous D tool updates

2014-08-26 Thread HeiHon via Digitalmars-d-announce

On Thursday, 7 August 2014 at 23:36:59 UTC, Brian Schott wrote:

dscanner: https://github.com/Hackerpilot/Dscanner


Thanks for dscanner - a really helpful tool.

BTW
Your build.bat as of 2014-08-25 didn't work for me - it produced 
wrong paths, e.g. (shortened):
dmd  src\astprinter.d src\ctags.d ... analysis/src\asm_style.d 
analysis/src\base.d ... -O -release -inline -ofdscanner.exe

Error: cannot read file analysis\src\asm_style.d

analysis/src instead of src/analysis

The following build.bat did work for me (and it took less than 10 
seconds on an i5 with Win7 - 64):


--- snip ---
@echo off
echo %time%
setlocal enabledelayedexpansion

set DFLAGS=-O -release -inline
set CORE=
set STD=
set STDD=
set ANALYSIS=
set INIFILED=

for %%x in (src\*.d) do set CORE=!CORE! %%x
for %%x in (src\analysis\*.d) do set ANALYSIS=!ANALYSIS! %%x
for %%x in (libdparse\src\std\*.d) do set STD=!STD! %%x
for %%x in (libdparse\src\std\d\*.d) do set STDD=!STDD! %%x
for %%x in (inifiled\source\*.d) do set INIFILED=!INIFILED! %%x

@echo on
dmd %CORE% %STD% %STDD% %ANALYSIS% %INIFILED% %DFLAGS% 
-ofdscanner.exe

@echo off
echo %time%
--- snip ---


Re: Miscelaneous D tool updates

2014-08-13 Thread Joakim via Digitalmars-d-announce

On Thursday, 7 August 2014 at 23:36:59 UTC, Brian Schott wrote:
Tags and DUB support for all of this will happen when I get 
around to it. (Or when you get around to it and make a pull 
request)


libdparse: https://github.com/Hackerpilot/libdparse
* The lexer/parser/ast code for D written in D is no longer a 
part
  of the dscanner project. (This also means that DCD no longer 
includes a

  static analysis tool as a submodule. Yay.)

dscanner: https://github.com/Hackerpilot/Dscanner
* Static analysis check for declaring methods or variables 
named init or
  otherwise overriding built-in properties. (Why does the 
compiler let you

  do this in the first place?)
* Tweaks to the opEquals, opCmp, toHash checks.
* Static analysis checks are now configurable through an ini 
file.

* Lots of random bug fixes.

dcd: https://github.com/Hackerpilot/DCD
* Autocomplete for selective imports.
* Autocomplete for auto variables. (Finally!)
* Show call tips for compiler-generated struct constructors.
* Autocomple global-scoped symbols more accurately.
* Several updates to editor integration scripts (Mostly EMACS)
* Lots of bug fixes

harbored: https://github.com/economicmodeling/harbored
* Documentation - docs - harbor?
* Documentation generator that is independent of DMD and its 
JSON output.
* Example output: 
http://economicmodeling.github.io/containers/index.html

* Lots of bug fixes.

libddoc: https://github.com/economicmodeling/libddoc
* D implementation of the DDoc macro system
* Lots of bug fixes


Oh, you might get more eyes on these projects if you put more of 
them on dub:


http://code.dlang.org/publish

I know I looked for libdparse on there before cloning it myself.


Re: Miscelaneous D tool updates

2014-08-08 Thread Thomas Mader via Digitalmars-d-announce

On Thursday, 7 August 2014 at 23:36:59 UTC, Brian Schott wrote:

* Several updates to editor integration scripts (Mostly EMACS)


I know that there is an integration script for vim but I wonder 
if it would be better to work on integrating it with 'You 
Complete Me'. [1]

What do you think?

[1] 
https://github.com/Valloric/YouCompleteMe/issues/521#issuecomment-48727396


Re: Miscelaneous D tool updates

2014-08-08 Thread Brian Schott via Digitalmars-d-announce

On Friday, 8 August 2014 at 06:07:17 UTC, Thomas Mader wrote:

On Thursday, 7 August 2014 at 23:36:59 UTC, Brian Schott wrote:

* Several updates to editor integration scripts (Mostly EMACS)


I know that there is an integration script for vim but I wonder 
if it would be better to work on integrating it with 'You 
Complete Me'. [1]

What do you think?

[1] 
https://github.com/Valloric/YouCompleteMe/issues/521#issuecomment-48727396


I rely on other people's pull requests for everything except the 
integration with Textadept. Check the history of the Emacs and 
Vim scripts:
* 
https://github.com/Hackerpilot/DCD/commits/master/editors/emacs/ac-dcd.el
* 
https://github.com/Hackerpilot/DCD/commits/master/editors/vim/ftplugin/d.vim


If you want to integrate it with YCM or YCMD[1], go ahead. I can 
either merge your work into the the DCD repository, or I can link 
to your plugin like I do with the Kate and Sublime plugins.


[1] https://github.com/Valloric/ycmd
http://val.markovic.io/articles/youcompleteme-as-a-server


Re: Miscelaneous D tool updates

2014-08-07 Thread Joakim via Digitalmars-d-announce

On Thursday, 7 August 2014 at 23:36:59 UTC, Brian Schott wrote:
Tags and DUB support for all of this will happen when I get 
around to it. (Or when you get around to it and make a pull 
request)


libdparse: https://github.com/Hackerpilot/libdparse
* The lexer/parser/ast code for D written in D is no longer a 
part
  of the dscanner project. (This also means that DCD no longer 
includes a

  static analysis tool as a submodule. Yay.)

dscanner: https://github.com/Hackerpilot/Dscanner
* Static analysis check for declaring methods or variables 
named init or
  otherwise overriding built-in properties. (Why does the 
compiler let you

  do this in the first place?)
* Tweaks to the opEquals, opCmp, toHash checks.
* Static analysis checks are now configurable through an ini 
file.

* Lots of random bug fixes.

dcd: https://github.com/Hackerpilot/DCD
* Autocomplete for selective imports.
* Autocomplete for auto variables. (Finally!)
* Show call tips for compiler-generated struct constructors.
* Autocomple global-scoped symbols more accurately.
* Several updates to editor integration scripts (Mostly EMACS)
* Lots of bug fixes

harbored: https://github.com/economicmodeling/harbored
* Documentation - docs - harbor?
* Documentation generator that is independent of DMD and its 
JSON output.
* Example output: 
http://economicmodeling.github.io/containers/index.html

* Lots of bug fixes.

libddoc: https://github.com/economicmodeling/libddoc
* D implementation of the DDoc macro system
* Lots of bug fixes


Thanks for all the nice work. :) I was just looking at using 
libdparse yesterday to help me with some phobos cleanup 
(https://github.com/D-Programming-Language/phobos/pull/2337) and 
I want to eventually try using it with dstep to separate out 
Glibc declarations in druntime.