www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Mono-D v0.5.1.2 - Completion/Parameter insight improvements

reply "alex" <info alexanderbothe.com> writes:
Hi folks,

I recently just announced new versions only on G+, but well,
might be helpful to do it over here either! :)

So, now that I've ported Mono-D to the fresh & recently released
version of Xamarin Studio aka MonoDevelop 4.0, I made some
further progress regarding code completion & parser library
efficiency..

Kinda embarassing to let Mono-D support huge amounts of slighty
advanced completion/building/formatting features, but not
"simple" ones which occurred in one of Walter's D tech talks on
component programming in D (see
http://www.youtube.com/watch?v=0cX1f41Fnkc):

void main()
{
	stdin.byLine(KeepTerminator.yes).
	map!(a => a.idup).
	array.
	sort.
	copy(stdout.lockingTextWriter());
}

By now, only the first statement line can be completed & handled
entirely. array, sort and copy shouldn't be problematic either
but the map function is still causing a lot of confusion to the
semantics engine..well, I try to keep it going - meanwhile,
please keep 'contributing' bug reports! Also smaller completion
issues, I want to know all of 'em! ;)

http://mono-d.alexanderbothe.com/?p=896
https://github.com/aBothe/Mono-D/issues
Feb 24 2013
next sibling parent reply =?UTF-8?B?U8O2bmtlIEx1ZHdpZw==?= <sludwig outerproduct.org> writes:
Am 25.02.2013 05:31, schrieb alex:
 Hi folks,
 
 I recently just announced new versions only on G+, but well,
 might be helpful to do it over here either! :)
Definitely good to have here! E.g. I stay away from G+ far as I can (yeah, many people say "WTF, it's great", but that's not the point).
 
 So, now that I've ported Mono-D to the fresh & recently released
 version of Xamarin Studio aka MonoDevelop 4.0, I made some
 further progress regarding code completion & parser library
 efficiency..
 
 Kinda embarassing to let Mono-D support huge amounts of slighty
 advanced completion/building/formatting features, but not
 "simple" ones which occurred in one of Walter's D tech talks on
 component programming in D (see
 http://www.youtube.com/watch?v=0cX1f41Fnkc):
 
 void main()
 {
     stdin.byLine(KeepTerminator.yes).
     map!(a => a.idup).
     array.
     sort.
     copy(stdout.lockingTextWriter());
 }
 
 By now, only the first statement line can be completed & handled
 entirely. array, sort and copy shouldn't be problematic either
 but the map function is still causing a lot of confusion to the
 semantics engine..well, I try to keep it going - meanwhile,
 please keep 'contributing' bug reports! Also smaller completion
 issues, I want to know all of 'em! ;)
 
 http://mono-d.alexanderbothe.com/?p=896
 https://github.com/aBothe/Mono-D/issues
Looking good! But funny to see how Xamarin now also thinks that iTunes is a good role model for an IDE :D But well, it works and looks clean here, I just found it funny when XCode did the same thing back then. I now get an error from dmd that a filename or extension is too long (I *think* it worked with MD 3.5 and the previous Mono-D). Passing the same command line that is printed in the build output window as a responsefile to dmd works, but putting it directly as a command line is too long for cmd.exe to handle. I couldn't get the original error message to reproduce, though. I'll file a bug report later, need to make a repo case. Original error message: Erstellen fehlgeschlagen. Der Dateiname oder die Erweiterung ist zu lang
Feb 25 2013
parent "alex" <info alexanderbothe.com> writes:
On Monday, 25 February 2013 at 08:22:04 UTC, Sönke Ludwig wrote:
 Looking good! But funny to see how Xamarin now also thinks that 
 iTunes
 is a good role model for an IDE :D But well, it works and looks 
 clean
 here, I just found it funny when XCode did the same thing back 
 then.
Well, I like the new design - mainly because the entire tool bar trash disappeared and the editor/completion stuff has been improved a lot :)
 I now get an error from dmd that a filename or extension is too 
 long (I
 *think* it worked with MD 3.5 and the previous Mono-D). Passing 
 the same
 command line that is printed in the build output window as a
  responsefile to dmd works, but putting it directly as a 
 command line is
 too long for cmd.exe to handle. I couldn't get the original 
 error
 message to reproduce, though. I'll file a bug report later, 
 need to make
 a repo case.

 Original error message: Erstellen fehlgeschlagen. Der Dateiname 
 oder die
 Erweiterung ist zu lang
I had this error too - but not in Mono-D/Xamarin Studio, just when actually trying to build my relatively small & self-built framework via console.. currently dunno how to handle this
Feb 25 2013
prev sibling next sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2013-02-25 05:31, alex wrote:
 Hi folks,

 I recently just announced new versions only on G+, but well,
 might be helpful to do it over here either! :)

 So, now that I've ported Mono-D to the fresh & recently released
 version of Xamarin Studio aka MonoDevelop 4.0, I made some
 further progress regarding code completion & parser library
 efficiency..

 Kinda embarassing to let Mono-D support huge amounts of slighty
 advanced completion/building/formatting features, but not
 "simple" ones which occurred in one of Walter's D tech talks on
 component programming in D (see
 http://www.youtube.com/watch?v=0cX1f41Fnkc):

 void main()
 {
      stdin.byLine(KeepTerminator.yes).
      map!(a => a.idup).
      array.
      sort.
      copy(stdout.lockingTextWriter());
 }

 By now, only the first statement line can be completed & handled
 entirely. array, sort and copy shouldn't be problematic either
 but the map function is still causing a lot of confusion to the
 semantics engine..well, I try to keep it going - meanwhile,
 please keep 'contributing' bug reports! Also smaller completion
 issues, I want to know all of 'em! ;)

 http://mono-d.alexanderbothe.com/?p=896
 https://github.com/aBothe/Mono-D/issues
Did you happened to find that deadlock issue? -- /Jacob Carlborg
Feb 25 2013
parent reply "alex" <info alexanderbothe.com> writes:
On Monday, 25 February 2013 at 08:54:00 UTC, Jacob Carlborg wrote:
 Did you happened to find that deadlock issue?
Which one? I've fixed a such an issue a month ago - the one I wrote about in the blog post isn't a deadlock, it's just an infinite loop..hopefully I'll get another chance to reproduce it
Feb 25 2013
parent reply Jacob Carlborg <doob me.com> writes:
On 2013-02-25 15:42, alex wrote:

 Which one?
I was referring to this post: http://forum.dlang.org/thread/tdmiqlxzbroktmcrvztz forum.dlang.org#post-rdzfcgypxusahrhwelcu:40forum.dlang.org -- /Jacob Carlborg
Feb 25 2013
parent reply "alex" <info alexanderbothe.com> writes:
On Monday, 25 February 2013 at 15:13:29 UTC, Jacob Carlborg wrote:
 On 2013-02-25 15:42, alex wrote:

 Which one?
I was referring to this post: http://forum.dlang.org/thread/tdmiqlxzbroktmcrvztz forum.dlang.org#post-rdzfcgypxusahrhwelcu:40forum.dlang.org
Yep, that's the one I fixed recently.
Feb 25 2013
parent reply Jacob Carlborg <doob me.com> writes:
On 2013-02-25 16:25, alex wrote:

 Yep, that's the one I fixed recently.
Aha, cool. I'll have to give it a try. BTW, is the Xamarin Studio IDE free? -- /Jacob Carlborg
Feb 25 2013
next sibling parent reply "simendsjo" <simendsjo gmail.com> writes:
On Monday, 25 February 2013 at 15:51:14 UTC, Jacob Carlborg wrote:
 On 2013-02-25 16:25, alex wrote:

 Yep, that's the one I fixed recently.
Aha, cool. I'll have to give it a try. BTW, is the Xamarin Studio IDE free?
Monodevelop have relesed 4.0 now: https://github.com/mono/monodevelop/tree/monodevelop-4.0 Mono-D works fine with MD4
Feb 25 2013
parent reply "alex" <info alexanderbothe.com> writes:
On Monday, 25 February 2013 at 16:09:51 UTC, simendsjo wrote:
 On Monday, 25 February 2013 at 15:51:14 UTC, Jacob Carlborg 
 wrote:
 On 2013-02-25 16:25, alex wrote:

 Yep, that's the one I fixed recently.
Aha, cool. I'll have to give it a try. BTW, is the Xamarin Studio IDE free?
Monodevelop have relesed 4.0 now: https://github.com/mono/monodevelop/tree/monodevelop-4.0 Mono-D works fine with MD4
Do you know a relatively consistent way of building MD 4.0 from scratch and having it 'installed' on one's machine, so with a launcher on the desktop? Like make install, whereas I never tried out where the difference is between a normal and an install make..
Feb 25 2013
next sibling parent "simendsjo" <simendsjo gmail.com> writes:
On Monday, 25 February 2013 at 16:17:57 UTC, alex wrote:
 On Monday, 25 February 2013 at 16:09:51 UTC, simendsjo wrote:
 On Monday, 25 February 2013 at 15:51:14 UTC, Jacob Carlborg 
 wrote:
 On 2013-02-25 16:25, alex wrote:

 Yep, that's the one I fixed recently.
Aha, cool. I'll have to give it a try. BTW, is the Xamarin Studio IDE free?
Monodevelop have relesed 4.0 now: https://github.com/mono/monodevelop/tree/monodevelop-4.0 Mono-D works fine with MD4
Do you know a relatively consistent way of building MD 4.0 from scratch and having it 'installed' on one's machine, so with a launcher on the desktop? Like make install, whereas I never tried out where the difference is between a normal and an install make..
Not sure I know what you mean. You can just create a custom monodevelop.desktop and point to your binary.
Feb 25 2013
prev sibling parent reply "F i L" <witte2008 gmail.com> writes:
alex wrote:
 Do you know a relatively consistent way of building MD 4.0 from 
 scratch and having it 'installed' on one's machine, so with a 
 launcher on the desktop?
I don't know, but MonoDevelop 4.0 was just on the Arch Repos yesterday :) Gotta hand it to the MD devs, they really did an excellent job with MD 4.0 The UI is slick and straight-forward The C# code-completion is much better The new Sublime-inspired colors are completely sexy And overall, the performance feels improved in every way. Mono-D is running good so far! Thanks for your work.
Feb 25 2013
parent "alex" <info alexanderbothe.com> writes:
On Monday, 25 February 2013 at 22:02:13 UTC, F i L wrote:
 alex wrote:
 Do you know a relatively consistent way of building MD 4.0 
 from scratch and having it 'installed' on one's machine, so 
 with a launcher on the desktop?
I don't know, but MonoDevelop 4.0 was just on the Arch Repos yesterday :) Gotta hand it to the MD devs, they really did an excellent job with MD 4.0 The UI is slick and straight-forward The C# code-completion is much better The new Sublime-inspired colors are completely sexy And overall, the performance feels improved in every way. Mono-D is running good so far! Thanks for your work.
Yep, I'm also glad it's gotten a new UI that feels more modern. Can't even await the first bug fix release that shall come up in a couple of days :)
Feb 25 2013
prev sibling parent "alex" <info alexanderbothe.com> writes:
On Monday, 25 February 2013 at 15:51:14 UTC, Jacob Carlborg wrote:
 On 2013-02-25 16:25, alex wrote:

 Yep, that's the one I fixed recently.
Aha, cool. I'll have to give it a try. BTW, is the Xamarin Studio IDE free?
Yes. And I hope it'll remain free :)
Feb 25 2013
prev sibling parent Jacob Carlborg <doob me.com> writes:
On 2013-02-25 05:31, alex wrote:
 Hi folks,

 I recently just announced new versions only on G+, but well,
 might be helpful to do it over here either! :)

 So, now that I've ported Mono-D to the fresh & recently released
 version of Xamarin Studio aka MonoDevelop 4.0, I made some
 further progress regarding code completion & parser library
 efficiency..

 Kinda embarassing to let Mono-D support huge amounts of slighty
 advanced completion/building/formatting features, but not
 "simple" ones which occurred in one of Walter's D tech talks on
 component programming in D (see
 http://www.youtube.com/watch?v=0cX1f41Fnkc):

 void main()
 {
      stdin.byLine(KeepTerminator.yes).
      map!(a => a.idup).
      array.
      sort.
      copy(stdout.lockingTextWriter());
 }

 By now, only the first statement line can be completed & handled
 entirely. array, sort and copy shouldn't be problematic either
 but the map function is still causing a lot of confusion to the
 semantics engine..well, I try to keep it going - meanwhile,
 please keep 'contributing' bug reports! Also smaller completion
 issues, I want to know all of 'em! ;)

 http://mono-d.alexanderbothe.com/?p=896
 https://github.com/aBothe/Mono-D/issues
I did a quick test of Xamarin Studio with Mono-D, in general everything seems to work better and faster. I'll give a more a throughout testing later. Good job. -- /Jacob Carlborg
Feb 25 2013