On Tue, Jul 30, 2013 at 6:26 PM, Jonathan S. Shapiro <[email protected]>wrote:

> I don't like CLR as a target; it's merely a useful transitional building
> block.
>

... sure, prototyping target.

Why is Nemerle interesting?
>

To provide a completely butcherous explanation, Nemerle is C# + F# + an
extensive syntax-extension macro system. If you're building for managed CLR
constructs, in Nemerle, concepts can be quickly prototyped into custom
language syntax using macros. Even if you never do anything directly bitc
related with it, it might be a useful prototyping ground for quickly
testing constructs on the CLR. For example, you could quickly evaluate
whether some of your important cases can perform reasonably on the CLR
before you spend the time to put a CIL backend into your compiler; or
figure out how to map concepts onto the CLR.

For example, I'm no Nemerle expert, but I'd bet even odds I could write a
syntax extension to implement and safely handle the general case
lifetime-based ref-return concept I talked about. (the CLR allows ref
return, but C# does not)

Anyhow, if you're going to temporarily use CLR I think it's worth a peek.
If not, then not as much. Or maybe not.

http://nemerle.org/wiki/index.php?title=Macros_tutorial
http://nemerle.org/wiki/index.php?title=Tutorials_and_examples
http://nemerle.org/wiki/index.php?title=Grokking_Nemerle
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to