Re: dtoh

2018-08-12 Thread Petar via Digitalmars-d-learn
On Tuesday, 7 August 2018 at 12:46:31 UTC, Steven Schveighoffer 
wrote:

On 8/7/18 6:08 AM, bauss wrote:

On Monday, 6 August 2018 at 13:28:05 UTC, Laeeth Isharc wrote:

Hi Walter.

Can dtoh be open-sourced now that dmd is?




https://github.com/adamdruppe/dtoh

I might be confused, but it seems like it is there.


I think he meant htod: https://dlang.org/htod.html

Which I believe uses some of the dmc source.

-Steve


For the record, I think this is the source code for htod:
https://github.com/DigitalMars/Compiler/blob/master/dm/src/dmc/htod.d


Re: dtoh

2018-08-11 Thread Jacob Carlborg via Digitalmars-d-learn

On 2018-08-06 15:28, Laeeth Isharc wrote:

Hi Walter.

Can dtoh be open-sourced now that dmd is?


If you mean htod, I would instead recommend DStep [1] or dpp [2]. Both 
of them are using libclang for parsing C/C++ code. DStep is cross-platform.


[1] http://github.com/jacob-carlborg/dstep
[2] https://github.com/atilaneves/dpp

--
/Jacob Carlborg


Re: dtoh

2018-08-07 Thread bauss via Digitalmars-d-learn
On Tuesday, 7 August 2018 at 12:46:31 UTC, Steven Schveighoffer 
wrote:

On 8/7/18 6:08 AM, bauss wrote:

On Monday, 6 August 2018 at 13:28:05 UTC, Laeeth Isharc wrote:

Hi Walter.

Can dtoh be open-sourced now that dmd is?




https://github.com/adamdruppe/dtoh

I might be confused, but it seems like it is there.


I think he meant htod: https://dlang.org/htod.html

Which I believe uses some of the dmc source.

-Steve


Yes, that makes more sense!


Re: dtoh

2018-08-07 Thread Steven Schveighoffer via Digitalmars-d-learn

On 8/7/18 6:08 AM, bauss wrote:

On Monday, 6 August 2018 at 13:28:05 UTC, Laeeth Isharc wrote:

Hi Walter.

Can dtoh be open-sourced now that dmd is?




https://github.com/adamdruppe/dtoh

I might be confused, but it seems like it is there.


I think he meant htod: https://dlang.org/htod.html

Which I believe uses some of the dmc source.

-Steve


Re: dtoh

2018-08-07 Thread bauss via Digitalmars-d-learn

On Monday, 6 August 2018 at 13:28:05 UTC, Laeeth Isharc wrote:

Hi Walter.

Can dtoh be open-sourced now that dmd is?


Laeeth.


https://github.com/adamdruppe/dtoh

I might be confused, but it seems like it is there.


Re: dtoh

2018-08-06 Thread Seb via Digitalmars-d-learn

On Monday, 6 August 2018 at 13:28:05 UTC, Laeeth Isharc wrote:

Hi Walter.

Can dtoh be open-sourced now that dmd is?


Laeeth.


Better write Walter a direct mail. He doesn't check the learn NG 
very often.


dtoh

2018-08-06 Thread Laeeth Isharc via Digitalmars-d-learn

Hi Walter.

Can dtoh be open-sourced now that dmd is?


Laeeth.


Re: Any chance of a linux dtoh?

2015-01-08 Thread Joakim via Digitalmars-d-learn

On Tuesday, 6 January 2015 at 16:02:24 UTC, Laeeth Isharc wrote:
I downgraded dmd and now have a different problem with tango at 
link stage, which is progress of a sort.  (I updated the 
ticket).


Do you have to compile it yourself?  Arch comes with dstep in 
their package repository, put there by Dicebot, I just used that. 
 I don't know if any other distros have it packaged though.


Re: Any chance of a linux dtoh?

2015-01-06 Thread ketmar via Digitalmars-d-learn
On Tue, 06 Jan 2015 14:08:30 +
Laeeth Isharc via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:

 I realize Walter has far better things to work on, but value of 
 having a translation tool is considerable, since it opens up easy 
 access to an enormous range of libraries.  It is not much work to 
 do the translation oneself, but in the world as it is small 
 frictions cumulatively have large consequences.  Access to 
 libraries is a big advantage of python, and the like.  Once you 
 have the wrapper in place, I find D as productive as python, but  
 for now it is still a bit of work first.

i bet that the only realistic way to do something like that is to take
some existing C/C++ parser and write the tool from scratch.


signature.asc
Description: PGP signature


Re: Any chance of a linux dtoh?

2015-01-06 Thread Dicebot via Digitalmars-d-learn
On Tuesday, 6 January 2015 at 14:22:54 UTC, ketmar via 
Digitalmars-d-learn wrote:

On Tue, 06 Jan 2015 14:08:30 +
Laeeth Isharc via Digitalmars-d-learn
digitalmars-d-learn@puremagic.com wrote:

I realize Walter has far better things to work on, but value 
of having a translation tool is considerable, since it opens 
up easy access to an enormous range of libraries.  It is not 
much work to do the translation oneself, but in the world as 
it is small frictions cumulatively have large consequences.  
Access to libraries is a big advantage of python, and the 
like.  Once you have the wrapper in place, I find D as 
productive as python, but  for now it is still a bit of work 
first.


i bet that the only realistic way to do something like that is 
to take

some existing C/C++ parser and write the tool from scratch.


Which is exactly what dstep is.


Re: Any chance of a linux dtoh?

2015-01-06 Thread Dicebot via Digitalmars-d-learn

On Tuesday, 6 January 2015 at 14:14:28 UTC, Laeeth Isharc wrote:

On Tuesday, 6 January 2015 at 14:11:19 UTC, Dicebot wrote:
dstep is your only realistic chance currently. htod is 
completely unmaintained, even on Windows. Please report any 
issues found with it in relevant issue tracker.


I got it the wrong way around - yes, I meant htod.

I have reported the issue, and author doesn't know what is 
wrong.


You must be referring to 
https://github.com/jacob-carlborg/dstep/issues/33


You mention using DMD beta there. Please don't. Use last 
currently available public release. This specific beta is 
especially harmful being left-over from unfinished beta cycle.


Any chance of a linux dtoh?

2015-01-06 Thread Laeeth Isharc via Digitalmars-d-learn
I realize Walter has far better things to work on, but value of 
having a translation tool is considerable, since it opens up easy 
access to an enormous range of libraries.  It is not much work to 
do the translation oneself, but in the world as it is small 
frictions cumulatively have large consequences.  Access to 
libraries is a big advantage of python, and the like.  Once you 
have the wrapper in place, I find D as productive as python, but  
for now it is still a bit of work first.


There is also dstep, but this doesn't seem to compile right now, 
and I don't have time to figure out why and fix it.  (I took a 
look, and it is not so easy to figure out).  Something 
mambo/tango related.  I have raised a bug report.




Laeeth


Re: Any chance of a linux dtoh?

2015-01-06 Thread Laeeth Isharc via Digitalmars-d-learn

On Tuesday, 6 January 2015 at 14:11:19 UTC, Dicebot wrote:
dstep is your only realistic chance currently. htod is 
completely unmaintained, even on Windows. Please report any 
issues found with it in relevant issue tracker.


I got it the wrong way around - yes, I meant htod.

I have reported the issue, and author doesn't know what is wrong.


Re: Any chance of a linux dtoh?

2015-01-06 Thread Dicebot via Digitalmars-d-learn
dstep is your only realistic chance currently. htod is completely 
unmaintained, even on Windows. Please report any issues found 
with it in relevant issue tracker.


Re: Any chance of a linux dtoh?

2015-01-06 Thread Laeeth Isharc via Digitalmars-d-learn

On Tuesday, 6 January 2015 at 14:25:19 UTC, Dicebot wrote:

On Tuesday, 6 January 2015 at 14:14:28 UTC, Laeeth Isharc wrote:

On Tuesday, 6 January 2015 at 14:11:19 UTC, Dicebot wrote:
dstep is your only realistic chance currently. htod is 
completely unmaintained, even on Windows. Please report any 
issues found with it in relevant issue tracker.


I got it the wrong way around - yes, I meant htod.

I have reported the issue, and author doesn't know what is 
wrong.


You must be referring to 
https://github.com/jacob-carlborg/dstep/issues/33


You mention using DMD beta there. Please don't. Use last 
currently available public release. This specific beta is 
especially harmful being left-over from unfinished beta cycle.


Thanks for coming back, Dicebot - I had not seen the update to 
the ticket.


I downgraded dmd and now have a different problem with tango at 
link stage, which is progress of a sort.  (I updated the ticket).