Re: automem v0.0.7 - C++ style smart pointers using std.experimental.allocator

2017-04-09 Thread mogu via Digitalmars-d-announce

On Sunday, 9 April 2017 at 08:56:52 UTC, Atila Neves wrote:
Using std.experimental.allocator? Tired of writing `scope(exit) 
allocator.dispose(foo);` in a language with RAII? Me too:


[...]


Nice!

Should UniqueArray be implemented as a overloaded version of 
Unique? Unique!(Object[]) instead of UniqueArray!(Object).


Re: Vim has got D-Scanner support.

2017-04-01 Thread mogu via Digitalmars-d-announce

On Thursday, 30 March 2017 at 22:51:22 UTC, ANtlord wrote:
Hello! I've done integration of D-Scanner in Vim plugin 
Syntastic 
(https://github.com/vim-syntastic/syntastic/pull/1995). Vim 
users are able to check his code using D-Scanner.


Links:

D-Scanner (https://github.com/Hackerpilot/Dscanner)

Syntastic (https://github.com/vim-syntastic/syntastic)

Vim (http://www.vim.org/)

Thanks.


Nice works. Thank you.


Re: Pegged v0.4: longest-match, left-recursion, and expandable parse trees

2017-03-02 Thread mogu via Digitalmars-d-announce

On Thursday, 2 March 2017 at 20:42:56 UTC, Philippe Sigaud wrote:

Hi,

Pegged is a parser generator based on Parsing Expression 
Grammars (PEG) written in D, that aims to be both simple to use 
and work at compile-time.


See: https://github.com/PhilippeSigaud/Pegged
...


Excellent! I love pegged. Thanks for your brilliant works.


Re: DlangUI 0.9.0: Console backend added

2016-09-09 Thread mogu via Digitalmars-d-announce

On Friday, 9 September 2016 at 11:21:07 UTC, Vadim Lopatin wrote:

Hello!

Now it's possible to build DlangUI apps to run in console 
(Linux, Windows).
When DlangUI is built with version=USE_CONSOLE (dub 
subconfiguration "console" for dlangui library) - it works in 
terminal.


Such feature may be useful, e.g. to run apps on headless 
devices, or via SSH.


For simple apps, it's enough just to specify dlangui 
configuration console. No additional changes required.


If custom themes are used, additional theme files prefixed with 
"console_" are to be created.
If custom embedded resources are used, create additional 
resource list file, with "console_" prefix.


Margins, padding, size values if specified in pixels are to be 
changed.
Hint: use points or EMs for such values to get them working 
universally on both console and GUI.


If images/icons are used, and still needed in console mode, you 
may need to create ASCII art like text image files (.tim 
extension).


Some screenshots (from dlangui example1 app):

  http://i63.tinypic.com/2wn1bg9.png
  http://i66.tinypic.com/142yctx.png
  http://i64.tinypic.com/snlc08.png
  http://i64.tinypic.com/2n16vcw.png

Part of key modifiers do not work in linux console.
Mouse events working ok.

Theme for console is to be improved a bit.

Now I'm trying to get DlangIDE working in console.


Best regards,
 Vadim


Amazing! You must be genius.


Re: yet another event loop

2016-08-24 Thread mogu via Digitalmars-d-announce
On Wednesday, 24 August 2016 at 18:03:39 UTC, Eugene Wissner 
wrote:

https://github.com/caraus-ecms/tanya

Ok there are not so many event loops in D and here an another 
one and its name is "tanya".

...


Nice works, thanks.




Re: IUP, CD, IM, lua interfaces in D.

2016-06-29 Thread mogu via Digitalmars-d-announce

On Wednesday, 29 June 2016 at 08:24:30 UTC, Dsby wrote:


Great! 蘑菇大神威武、、


白玉大大威武


Re: IUP, CD, IM, lua interfaces in D.

2016-06-29 Thread mogu via Digitalmars-d-announce

On Wednesday, 29 June 2016 at 09:48:19 UTC, Chris wrote:


Have you seen this:

https://github.com/DerelictOrg/DerelictLua

There is also

https://github.com/JakobOvrum/LuaD

I have already looked over these projects before I wrote this 
down. The problems are that luaD is in version 5.1 and 
DerelictLua only supports dynamic link. Another issue is that I 
just want this project to do translations instead of making other 
personal creations involved.


IUP, CD, IM, lua interfaces in D.

2016-06-28 Thread mogu via Digitalmars-d-announce

Now IUP library collections' interfaces accomplished.

IUP(3.18):  http://code.dlang.org/packages/iupd
IM(3.10):   http://code.dlang.org/packages/imd
CD(5.9):http://code.dlang.org/packages/cdd
lua(5.3.3): http://code.dlang.org/packages/nluad

As I'm not good enough, all bindings may have many issues. Help 
me please.


All bindings do not have cpp interface conversions in D. But 
these will be the next works.


Re: Iup and nukclear interface in D.

2016-06-24 Thread mogu via Digitalmars-d-announce

On Thursday, 23 June 2016 at 20:04:51 UTC, Jordan Wilson wrote:

On Thursday, 23 June 2016 at 06:32:09 UTC, mogu wrote:

http://code.dlang.org/packages/iupd
http://code.dlang.org/packages/nukleard

iupd removes all deprecated items in IUP, current version is 
IUP 3.18.
nukleard may have some bugs in name mangling. Does a struct's 
field name like `null`,
i changed it to null_, may be issue? Can pragma(mangle, 
"name") help in this context?


Great, look forward to checking it out. Any plans for the CD 
library?


Coming soon. :)


Re: Iup and nukclear interface in D.

2016-06-23 Thread mogu via Digitalmars-d-announce

On Thursday, 23 June 2016 at 08:14:42 UTC, Mike Parker wrote:

On Thursday, 23 June 2016 at 06:32:09 UTC, mogu wrote:

http://code.dlang.org/packages/iupd
http://code.dlang.org/packages/nukleard



A couple of points:

* All of those 'static immutable' you have would be better as 
manifest constants, or logically grouped in anonymous enums. 
The former are lvalues and will wind up in the data segment, 
but you likely don't need them to be.


* extern(C) functions should, at a minimum, be declared as 
@nogc and nothrow for client code using those attributes.


Thx, iup is the first project i tried to binding in D. So it has 
so many issues. They all be reconsidered in nuklear binding. 
Also, i'll fix iup binding after some busy company work.


Iup and nukclear interface in D.

2016-06-22 Thread mogu via Digitalmars-d-announce

http://code.dlang.org/packages/iupd
http://code.dlang.org/packages/nukleard

iupd removes all deprecated items in IUP, current version is IUP 
3.18.
nukleard may have some bugs in name mangling. Does a struct's 
field name like `null`,
i changed it to null_, may be issue? Can pragma(mangle, "name") 
help in this context?


Re: PowerNex - New release of my D kernel

2016-05-29 Thread mogu via Digitalmars-d-announce

On Sunday, 29 May 2016 at 23:15:13 UTC, Wild wrote:

I have new release of my D kernel called PowerNex.

-Dan


nice works!