JEP 222: Java Read-Eval-Print Loop (REPL)

Robert Field robert.field at oracle.com
Sat Nov 1 23:34:19 UTC 2014


Thanks Remi.

Does automatic creation of a temp variable for an expression address 2 
without breaking 1?

Bash et al, was that compatibility or features, if features, what features?

What were your answers to these?

Thanks,
Robert



On November 1, 2014 2:46:03 PM Remi Forax <forax at univ-mlv.fr> wrote:

>
> On 11/01/2014 05:14 PM, Brian Goetz wrote:
> > What might be useful, though, is any *usability* experience that you
> > had with people trying it out.  What did people complain about? What
> > non-obvious features did people seem to expect should be part of the
> > feature set?
>
> I build 3 REPLs for mostly DSLs that runs on top of the JVM.
>
> features: history, code completion, doc, record/replay
>
> usual comments:
>   - number 1: it works in the REPL but not with a file.
>   - number 2: can I avoid to declare the types (see number 1).
>   - it doesn't work like bash, zsh, ipython.
>   - can I have the feature XXX of IntelliJ/Eclipse/Netbeans ?
>   - the doc of this method is too big, I want only the interesting part.
>   - record/replay, I want only to replay the part that are not me
> messing around.
>
> >
> > (Note, though, that we're asking for *actual* experience of "I built X
> > and people who used it complained of Y", not theorizing of the form "I
> > could imagine I might want Y in some situation...".)
>
> cheers,
> Rémi
>
> >
> > On 11/1/2014 12:03 PM, Robert Field wrote:
> >> Thanks Bruce.  I'm quite far along, so I doubt that would be useful.
> >>
> >> -Robert
> >>
> >> On 11/01/14 01:58, Bruce Chapman wrote:
> >>> I built (for some value of "built" near to the value of "hack") one of
> >>> these back in 2009 for our local java user group [1] as a demo for the
> >>> compiler API and an annotation processor test framework I built [2]
> >>>
> >>> If you are interested I can find and dust off the code and make sure
> >>> it still all works (why wouldn't it).
> >>>
> >>> Bruce
> >>>
> >>>
> >>>
> >>> [1]  http://wellingtonjug.org.nz/talk200905.html
> >>> [2] https://java.net/projects/hickory
> >>>
> >>>
> >>> On 31/10/2014 10:56 a.m., mark.reinhold at oracle.com wrote:
> >>>> New JEP Candidate: http://openjdk.java.net/jeps/222
> >>>>
> >>>> - Mark
> >>>>
> >>>
> >>>
> >>> ---
> >>> This email is free from viruses and malware because avast! Antivirus
> >>> protection is active.
> >>> http://www.avast.com
> >>>
> >>
>




More information about the compiler-dev mailing list