Re: Does a Interpretation-Engine fit in phobos ?

2016-07-02 Thread Stefan Koch via Digitalmars-d
On Saturday, 2 July 2016 at 09:22:48 UTC, Joakim Brännström wrote: On Saturday, 2 July 2016 at 08:11:48 UTC, Stefan Koch wrote: The Bytecode interpreter is now CTFEable :) Good job Stefan. The PR looks really interesting. I'll be looking into using your engine I future projects so I hope

Re: Does a Interpretation-Engine fit in phobos ?

2016-07-02 Thread Joakim Brännström via Digitalmars-d
On Saturday, 2 July 2016 at 08:11:48 UTC, Stefan Koch wrote: The Bytecode interpreter is now CTFEable :) Good job Stefan. The PR looks really interesting. I'll be looking into using your engine I future projects so I hope that it will be available in some way or another :) // Joakim

Re: Does a Interpretation-Engine fit in phobos ?

2016-07-02 Thread Stefan Koch via Digitalmars-d
On Thursday, 30 June 2016 at 23:27:10 UTC, lobo wrote: On Thursday, 30 June 2016 at 11:09:10 UTC, ketmar wrote: On Thursday, 30 June 2016 at 10:36:44 UTC, qznc wrote: Off-topic: Is it possible/feasible/desirable to let dmd use dub packages? please, no. not everybody out there is dub fan.

Re: Does a Interpretation-Engine fit in phobos ?

2016-06-30 Thread lobo via Digitalmars-d
On Thursday, 30 June 2016 at 11:09:10 UTC, ketmar wrote: On Thursday, 30 June 2016 at 10:36:44 UTC, qznc wrote: Off-topic: Is it possible/feasible/desirable to let dmd use dub packages? please, no. not everybody out there is dub fan. You can always use dub to fetch packages into

Re: Does a Interpretation-Engine fit in phobos ?

2016-06-30 Thread Ola Fosheim Grøstad via Digitalmars-d
On Thursday, 30 June 2016 at 15:53:19 UTC, ZombineDev wrote: Also almost every dynamic language has some sort of eval function can be used to evaluate arbitrary code at run-time. And almost every language guideline suggest to never use it. When people have to use it, it usually ends in a

Re: Does a Interpretation-Engine fit in phobos ?

2016-06-30 Thread default0 via Digitalmars-d
On Thursday, 30 June 2016 at 15:53:19 UTC, ZombineDev wrote: On Thursday, 30 June 2016 at 14:14:41 UTC, Wyatt wrote: On Thursday, 30 June 2016 at 10:36:44 UTC, qznc wrote: Ok, seriously, it sounds like an awesome feat, but I don't think it is necessary to put it into Phobos. First, a dub

Re: Does a Interpretation-Engine fit in phobos ?

2016-06-30 Thread ZombineDev via Digitalmars-d
On Thursday, 30 June 2016 at 14:14:41 UTC, Wyatt wrote: On Thursday, 30 June 2016 at 10:36:44 UTC, qznc wrote: Ok, seriously, it sounds like an awesome feat, but I don't think it is necessary to put it into Phobos. First, a dub package, please. Agree. Does Java even have something like

Re: Does a Interpretation-Engine fit in phobos ?

2016-06-30 Thread Wyatt via Digitalmars-d
On Thursday, 30 June 2016 at 10:36:44 UTC, qznc wrote: Ok, seriously, it sounds like an awesome feat, but I don't think it is necessary to put it into Phobos. First, a dub package, please. Agree. Does Java even have something like that? That's sort of the exemplar for "hopelessly overdone

Re: Does a Interpretation-Engine fit in phobos ?

2016-06-30 Thread ZombineDev via Digitalmars-d
On Thursday, 30 June 2016 at 10:28:03 UTC, Stefan Koch wrote: Hi, I recently had a breakthrough in my CTFE work. Though because habits die hard. I am writing the bytecode-engine in a CTFEable style. Therefore I can be used as a quite comfortable IR for CTFE things as well. It should be

Re: Does a Interpretation-Engine fit in phobos ?

2016-06-30 Thread Seb via Digitalmars-d
On Thursday, 30 June 2016 at 11:09:10 UTC, ketmar wrote: On Thursday, 30 June 2016 at 10:36:44 UTC, qznc wrote: Off-topic: Is it possible/feasible/desirable to let dmd use dub packages? please, no. not everybody out there is dub fan. Off-topic: @ketmar: if it's on dub (d's official package

Re: Does a Interpretation-Engine fit in phobos ?

2016-06-30 Thread ketmar via Digitalmars-d
On Thursday, 30 June 2016 at 10:36:44 UTC, qznc wrote: Off-topic: Is it possible/feasible/desirable to let dmd use dub packages? please, no. not everybody out there is dub fan.

Re: Does a Interpretation-Engine fit in phobos ?

2016-06-30 Thread jkpl via Digitalmars-d
On Thursday, 30 June 2016 at 10:28:03 UTC, Stefan Koch wrote: Hi, I recently had a breakthrough in my CTFE work. Though because habits die hard. I am writing the bytecode-engine in a CTFEable style. Therefore I can be used as a quite comfortable IR for CTFE things as well. It should be

Re: Does a Interpretation-Engine fit in phobos ?

2016-06-30 Thread qznc via Digitalmars-d
On Thursday, 30 June 2016 at 10:28:03 UTC, Stefan Koch wrote: Hi, I recently had a breakthrough in my CTFE work. Though because habits die hard. I am writing the bytecode-engine in a CTFEable style. Therefore I can be used as a quite comfortable IR for CTFE things as well. It should be

Does a Interpretation-Engine fit in phobos ?

2016-06-30 Thread Stefan Koch via Digitalmars-d
Hi, I recently had a breakthrough in my CTFE work. Though because habits die hard. I am writing the bytecode-engine in a CTFEable style. Therefore I can be used as a quite comfortable IR for CTFE things as well. It should be fairly easy to generate a inline-asm-string from the byteCode at