D for the JVM

Russel Winder russel at winder.org.uk
Fri Mar 22 00:47:18 PDT 2013


On Fri, 2013-03-22 at 08:36 +0100, Jacob Carlborg wrote:
> On 2013-03-21 23:20, Kagamin wrote:
> 
> > Interesting, can java into CTFE and compile-time code generation?
> 
> Scala supports AST macros and therefore also executing functions during 
> compile time. I guess they just invoke a new instance of the compiler 
> during compile time.

Groovy also supports AST tranformations. Two of which are:

	@TypeChecked
	@CompileStatic

so as to make Groovy a dynamic language which can have static type
checked bits and full static compiled bits. I am not sure that Cédric
has realized CTFE, I will ask.

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130322/2f57efaf/attachment-0001.pgp>


More information about the Digitalmars-d mailing list