Go on then... create the DSL in Java

it must be possible to write the following fragment, in a .java file, so
that it compiles and is checked by the compiler and continues to look like
native syntax:

repeat(4) {
  forward(100);
  right(90);
}

as a concession, I don't expect you to make it work without semicolons, as
the Scala version does.



2010/8/29 Cédric Beust ♔ <[email protected]>

>
>
> On Sun, Aug 29, 2010 at 8:43 AM, Josh Suereth <[email protected]>wrote:
>
>> "No idea" eh?  I think that's exaggerated.  They at least know enough
>> Scala to use the Kojo library.   Granted this is probably a very small
>> subset of Scala, but still Scala nonetheless.
>>
>
> Kojo is a small Logo-like programming language + libraries written in
> Scala. It could have been written in any language and the students wouldn't
> know or care. You don't even need any of the DSL capabilities offered by
> Scala to implement it.
>
> --
> Cédric
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "The Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<javaposse%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/javaposse?hl=en.
>



-- 
Kevin Wright

mail/google talk: [email protected]
wave: [email protected]
skype: kev.lee.wright
twitter: @thecoda

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to