OT: Morfa - an interesting (toy?) language that claims to be inspired/based on D

Ola Fosheim Grøstad via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 21 09:27:45 PDT 2015


On Tuesday, 20 October 2015 at 13:43:04 UTC, Idan Arye wrote:
> On Tuesday, 20 October 2015 at 10:22:56 UTC, Ola Fosheim 
> Grøstad wrote:
>> What is interesting about Morfa is that they have a jitted 
>> REPL. That's a significant advantage worth pursuing.
>
> Looks like LLVM makes such things possible - there is also one 
> for C++(https://github.com/vgvassilev/cling).

Thanks, this looks interesting. Have you tried it? Maybe it could 
be useful for debugging.

> Could be nice to have a LDC-based REPL...

Yes, REPL is a killer-feature IMHO. The syntax probably have to 
be simplified for it to be truly useful though, (typing "auto" 
and "immutable" is boring).

Being able to gradually build an app by "scripting" in native 
code can be useful in many scenarios, like when designing games.



More information about the Digitalmars-d mailing list