Re: Calypso: Direct and full interfacing to C++

2015-02-13 Thread Kelly via Digitalmars-d-announce

On Monday, 9 February 2015 at 22:38:51 UTC, Elie Morisse wrote:

On Monday, 9 February 2015 at 07:10:56 UTC, Suliman wrote:
If somebody have working Windows build, could you please share 
it?


It would be nice to know if someone even managed to build 
Calypso on Windows yet :)




Hello Elie,

Ok, I have merged in the newest LDC with Calypso from github 
today and built it with vs2013 on Win7 :)


There is a small diff involved in getting things to compile. The 
resulting ldc2 runs and builds a simple hello world program, but 
it fails when trying to use calypso.


I guess I've made a mistake with my patch since I am getting an 
assert in ASTReader with input for calypso to compile. I will 
look at it tomorrow and once I can get calypso to work I will 
push to my github fork.


Hoping for better news tomorrow,
Kelly


Re: DlangIDE

2015-02-13 Thread Chris via Digitalmars-d-announce
On Thursday, 12 February 2015 at 14:16:49 UTC, Vadim Lopatin 
wrote:

On Thursday, 12 February 2015 at 09:55:53 UTC, Chris wrote:
On Wednesday, 11 February 2015 at 17:49:53 UTC, Vadim Lopatin 
Got an error message after cloning and running dub run


Compiling using dmd...
Error: cannot read file 
../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d
FAIL 
.dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA2DE13262C4DBFEB2E69/ 
dlangide executable

Error executing command run: dmd failed with exit code 1.

I used dmd 2.066.1

Btw, have you thought of integrating the version manager dvm 
somehow. I find it extremely useful, especially when upgrading 
my code to a new version of dmd.


I'm really looking forward to using this IDE for my D projects 
one day.


Following works for me:

dub fetch dlangui
dub run dlangui:helloworld
dub run dlangui:example1
dub run dlangui:tetris

I see no errors.
DMD is v2.066.0 and DUB is 0.9.22


That works for me too, but the error I got was from this:

git clone https://github.com/buggins/dlangide.git
cd dlangide
dub run

Building dlangide 0.2.1 configuration application, build 
type debug.

Compiling using dmd...
Error: cannot read file 
../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d
FAIL 
.dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA2DE13262C4DBFEB2E69/ 
dlangide executable

Error executing command run: dmd failed with exit code 1.

(dmd 2.066.0)


Re: DlangIDE

2015-02-13 Thread Vadim Lopatin via Digitalmars-d-announce

On Friday, 13 February 2015 at 10:00:33 UTC, Chris wrote:
On Thursday, 12 February 2015 at 14:16:49 UTC, Vadim Lopatin 
wrote:

On Thursday, 12 February 2015 at 09:55:53 UTC, Chris wrote:
On Wednesday, 11 February 2015 at 17:49:53 UTC, Vadim Lopatin 
Got an error message after cloning and running dub run


Compiling using dmd...
Error: cannot read file 
../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d
FAIL 
.dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA2DE13262C4DBFEB2E69/ 
dlangide executable

Error executing command run: dmd failed with exit code 1.

I used dmd 2.066.1

Btw, have you thought of integrating the version manager dvm 
somehow. I find it extremely useful, especially when 
upgrading my code to a new version of dmd.


I'm really looking forward to using this IDE for my D 
projects one day.


Following works for me:

dub fetch dlangui
dub run dlangui:helloworld
dub run dlangui:example1
dub run dlangui:tetris

I see no errors.
DMD is v2.066.0 and DUB is 0.9.22


That works for me too, but the error I got was from this:

git clone https://github.com/buggins/dlangide.git
cd dlangide
dub run

Building dlangide 0.2.1 configuration application, build 
type debug.

Compiling using dmd...
Error: cannot read file 
../../.dub/packages/dlangui-master/examples/helloworld/bin/helloworld.d
FAIL 
.dub/build/application-debug-linux.posix-x86_64-dmd_2066-51E212BAD4DDA2DE13262C4DBFEB2E69/ 
dlangide executable

Error executing command run: dmd failed with exit code 1.

(dmd 2.066.0)


Looks like DUB issue. It selects dlangui:helloworld instead if 
dlangui



git clone https://github.com/buggins/dlangide.git
cd dlangide
dub run


It's working for me.

$ dub run
WARNING: A deprecated branch based version specification is used 
for the dependency dlangui. Please use numbered version
s instead. Also note that you can still use the 
dub.selections.json file to override a certain dependency to use 
a branc

h instead.
Building dlib ~master configuration library, build type debug.
Running dmd...
Target derelict-util 1.9.1 is up to date. Use --force to rebuild.
Target derelict-ft 1.0.2 is up to date. Use --force to rebuild.
Target derelict-sdl2 1.9.2 is up to date. Use --force to rebuild.
Target derelict-gl3 1.0.12 is up to date. Use --force to rebuild.
Building dlangui ~master configuration library, build type 
debug.

Running dmd...
Building dlangide 0.2.3 configuration application, build type 
debug.

Compiling using dmd...
Linking...
Copying files for dlangui...
Running .\bin\dlangide.exe

Try
dub upgrade --force-remove

As well, check your DUB version.
0.9.22 should work ok.


Re: Calypso: Direct and full interfacing to C++

2015-02-13 Thread Elie Morisse via Digitalmars-d-announce
Anyway I'm probably fixing the last issue right now preventing 
std::vector from instantiating so I'm going to push the commits 
to master in the hour.


Re: Calypso: Direct and full interfacing to C++

2015-02-13 Thread Kelly via Digitalmars-d-announce

On Friday, 13 February 2015 at 17:54:25 UTC, Elie Morisse wrote:
Anyway I'm probably fixing the last issue right now preventing 
std::vector from instantiating so I'm going to push the commits 
to master in the hour.


Hello Elie,

You can push to master, if you like, because we'll just have to 
go through and update everything either way. Hopefully not too 
many collisions or changes for llvm-3.7. Most of the changes I 
made are just slight modifications without new code, so there 
really shouldn't be too many collisions.


Just going to start working on this ASTReader assert. Once it 
works, I will push to my fork, or I might just pull in your 
changes and see what happens.


Thanks,
Kelly


Re: Calypso: Direct and full interfacing to C++

2015-02-13 Thread Elie Morisse via Digitalmars-d-announce

On Friday, 13 February 2015 at 09:49:51 UTC, Kelly wrote:

Hello Elie,

Ok, I have merged in the newest LDC with Calypso from github 
today and built it with vs2013 on Win7 :)


There is a small diff involved in getting things to compile. 
The resulting ldc2 runs and builds a simple hello world 
program, but it fails when trying to use calypso.


I guess I've made a mistake with my patch since I am getting an 
assert in ASTReader with input for calypso to compile. I will 
look at it tomorrow and once I can get calypso to work I will 
push to my github fork.


Hoping for better news tomorrow,
Kelly


Awesome news Kelly. Did you use rebase to merge? You've probably 
saved me a lot of work which I was planning to do this week-end 
after seeing your post about Win64 support.


There are a dozen of new commits in store since last week-end for 
operator support and groundwork for class values, but mapping 
operators trigger new bugs which prevent std::vector from 
instantiating so I haven't pushed them yet to master, but do you 
want me to push them into a new branch so you can merge with the 
latest?


Let me know when you make your fork available so I can check your 
merge and then incorporate it into master.


Re: London D Programmers MeetUp

2015-02-13 Thread Laeeth Isharc via Digitalmars-d-announce

done.  and gave him headsup too.  is your email no
spam
o
n
e
at yourfullname.com ?

if not what should the first part be?  or you can email me at 
myfirstn...@myfirstname.com



On Friday, 13 February 2015 at 07:31:52 UTC, Laeeth Isharc wrote:
On Wednesday, 11 February 2015 at 22:28:03 UTC, Walter Bright 
wrote:

On 2/4/2015 1:17 PM, Laeeth Isharc wrote:
One interesting anecdote: somebody in a financial services 
company gave an
account of giving D a try as a way to prototype something 
quickly, intending to
rewrite it later in a more conventional language.  The 
prototype went straight
into production, and they are happy with it.  The C interop 
was important for

them to have made this possible.

It was interesting, because it is a serious company where 
people don't by any
means have a hacker mentality, and it was one more point at 
variance with the I
am a java programmer but do all my personal projects in D 
narrative, and also
because this particular kind of company is exactly the sort 
of second wave early

adopter one wants to have.

(I hope I represented this accurately, and tried to make this 
as vague as
possible whilst still keeping it useful since people might 
not want the details

of what they do being public).


I'd like to invite this fellow to propose a case study 
presentation at Dconf 2015. Can someone please forward this to 
him, or put him in contact with myself or Andrei?


I will dig his card out unless Kingsley gets there first.  (Let 
me know if so).  Laeeth