Re: Interactive Interpreter

2018-02-06 Thread Jiyan via Digitalmars-d-learn

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 :)


Re: Interactive Interpreter

2018-02-05 Thread Stefan Koch via Digitalmars-d-learn

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 :)


Interactive Interpreter

2018-02-05 Thread Jiyan via Digitalmars-d-learn
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.