questions about groovysh's doc
Xeno Amess <[email protected]> Wed, 16 Jul 2025 16:05:48 +0800
| Newsgroups | gmane.comp.lang.groovy.user |
|---|---|
| Message-ID | <CAFF4x5+yV3zZGbzMLzwNu+194fBHAKTcxVUFbm0oZt+Hp4-=Lw@mail.gmail.com> |
--00000000000008c515063a075de6 Content-Type: text/plain; charset="UTF-8" I see https://github.com/apache/groovy/blob/master/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc and still have several questions... 1. it said 'Features: No need for *go* command to execute buffer.' what be the *go* here mean? and what the *go* do with groovy/groovysh? I just feel somehow confused. 2. what is *the buffer* mean in this doc... (and save/load) 3. also another question, I binded several variables, and injected some functions, how can I save the whole context, and load it for use when next time(something like squeak if you know it) I ask as it seems not the same save/load you provided as command... --00000000000008c515063a075de6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I see <a href=3D"https://github.com/apache/groovy/blob/mas= ter/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc">https://github.= com/apache/groovy/blob/master/subprojects/groovy-groovysh/src/spec/doc/groo= vysh.adoc</a>=C2=A0<div>and still have several questions...</div><div><br><= /div><div>1.=C2=A0<span style=3D"color:rgb(23,43,77);font-family:-apple-sys= tem,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira= Sans","Droid Sans","Helvetica Neue",sans-serif;fo= nt-size:14px">it said 'Features: No need for=C2=A0</span><b style=3D"co= lor:rgb(23,43,77);font-family:-apple-system,BlinkMacSystemFont,"Segoe = UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans",= "Helvetica Neue",sans-serif;font-size:14px">go</b><span style=3D"= color:rgb(23,43,77);font-family:-apple-system,BlinkMacSystemFont,"Sego= e UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans"= ;,"Helvetica Neue",sans-serif;font-size:14px">=C2=A0command to ex= ecute buffer.'</span></div><span style=3D"color:rgb(23,43,77);font-fami= ly:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubun= tu,"Fira Sans","Droid Sans","Helvetica Neue",= sans-serif;font-size:14px">what be the=C2=A0</span><b style=3D"color:rgb(23= ,43,77);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",R= oboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","Helv= etica Neue",sans-serif;font-size:14px">go</b><span style=3D"color:rgb(= 23,43,77);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI"= ,Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","He= lvetica Neue",sans-serif;font-size:14px">=C2=A0here mean?</span><br st= yle=3D"color:rgb(23,43,77);font-family:-apple-system,BlinkMacSystemFont,&qu= ot;Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sa= ns","Helvetica Neue",sans-serif;font-size:14px"><span style= =3D"color:rgb(23,43,77);font-family:-apple-system,BlinkMacSystemFont,"= Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans&= quot;,"Helvetica Neue",sans-serif;font-size:14px">and what the=C2= =A0</span><b style=3D"color:rgb(23,43,77);font-family:-apple-system,BlinkMa= cSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans"= ,"Droid Sans","Helvetica Neue",sans-serif;font-size:14p= x">go</b><span style=3D"color:rgb(23,43,77);font-family:-apple-system,Blink= MacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans&quo= t;,"Droid Sans","Helvetica Neue",sans-serif;font-size:1= 4px">=C2=A0do with groovy/groovysh?</span><br style=3D"color:rgb(23,43,77);= font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ox= ygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Ne= ue",sans-serif;font-size:14px"><span style=3D"color:rgb(23,43,77);font= -family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen= ,Ubuntu,"Fira Sans","Droid Sans","Helvetica Neue&q= uot;,sans-serif;font-size:14px">I just feel somehow confused.</span><div><s= pan style=3D"color:rgb(23,43,77);font-family:-apple-system,BlinkMacSystemFo= nt,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Dr= oid Sans","Helvetica Neue",sans-serif;font-size:14px"><br></= span></div><div><span style=3D"color:rgb(23,43,77);font-family:-apple-syste= m,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira S= ans","Droid Sans","Helvetica Neue",sans-serif;font= -size:14px">2.=C2=A0</span><span style=3D"color:rgb(23,43,77);font-family:-= apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,&= quot;Fira Sans","Droid Sans","Helvetica Neue",sans= -serif;font-size:14px">what is=C2=A0</span><b style=3D"color:rgb(23,43,77);= font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ox= ygen,Ubuntu,"Fira Sans","Droid Sans","Helvetica Ne= ue",sans-serif;font-size:14px">the buffer</b><span style=3D"color:rgb(= 23,43,77);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI"= ,Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","He= lvetica Neue",sans-serif;font-size:14px">=C2=A0mean in this doc...</sp= an></div><span style=3D"color:rgb(23,43,77);font-family:-apple-system,Blink= MacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,"Fira Sans&quo= t;,"Droid Sans","Helvetica Neue",sans-serif;font-size:1= 4px">(and save/load)</span><div><span style=3D"color:rgb(23,43,77);font-fam= ily:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubu= ntu,"Fira Sans","Droid Sans","Helvetica Neue"= ,sans-serif;font-size:14px"><br></span></div><div><span style=3D"color:rgb(= 23,43,77);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI"= ,Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans","He= lvetica Neue",sans-serif;font-size:14px">3.=C2=A0</span><span style=3D= "color:rgb(23,43,77);font-family:-apple-system,BlinkMacSystemFont,"Seg= oe UI",Roboto,Oxygen,Ubuntu,"Fira Sans","Droid Sans&quo= t;,"Helvetica Neue",sans-serif;font-size:14px">also another quest= ion, I binded several variables, and injected some functions, how can I sav= e the whole context, and load it for use when next time(something like sque= ak if you know it)</span></div><span style=3D"color:rgb(23,43,77);font-fami= ly:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubun= tu,"Fira Sans","Droid Sans","Helvetica Neue",= sans-serif;font-size:14px">I ask as it seems not the same save/load you pro= vided as command...</span></div> --00000000000008c515063a075de6--