Thread overview | |||||
---|---|---|---|---|---|
|
February 05, 2018 Interactive Interpreter | ||||
---|---|---|---|---|
| ||||
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 Re: Interactive Interpreter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jiyan | 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 Re: Interactive Interpreter | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stefan Koch | 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 :)
|
Copyright © 1999-2021 by the D Language Foundation