Thread overview
Interactive Interpreter
Feb 05, 2018
Jiyan
Feb 06, 2018
Stefan Koch
Feb 06, 2018
Jiyan
February 05, 2018
Is there any work for an interactive interpreter for D -maybe just for ctfe-able expressions?
It shouldnt be too hard to implement it regarding the fact, that ctfe is kinda doing what
an interpreter should do i guess.
February 06, 2018
On Monday, 5 February 2018 at 19:54:09 UTC, Jiyan wrote:
> Is there any work for an interactive interpreter for D -maybe just for ctfe-able expressions?
> It shouldnt be too hard to implement it regarding the fact, that ctfe is kinda doing what
> an interpreter should do i guess.

There is https://github.com/dlang-community/drepl which should give you what you want.
As the person who builds newCTFE I can tell you that it is rather tricky :)
February 06, 2018
On Tuesday, 6 February 2018 at 01:23:57 UTC, Stefan Koch wrote:
> On Monday, 5 February 2018 at 19:54:09 UTC, Jiyan wrote:
>> Is there any work for an interactive interpreter for D -maybe just for ctfe-able expressions?
>> It shouldnt be too hard to implement it regarding the fact, that ctfe is kinda doing what
>> an interpreter should do i guess.
>
> There is https://github.com/dlang-community/drepl which should give you what you want.
> As the person who builds newCTFE I can tell you that it is rather tricky :)

Thank you very much :)