[Q] Examples using New Syntax?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Q] Examples using New Syntax?

Chun, Sungjin
Hi,

GST 3.1 has new syntax for easier scripting, right? But there's very little number of
examples using this new syntax; for example SimpleEcho series of example uses old
syntax - yes, one can translate using kernel code as reference to make a new version
with new syntax - and emacs does not support new syntax very well.

Are there any solution on this situation? Especially the Emacs part?

Thank you in advance.


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [Q] Examples using New Syntax?

Paolo Bonzini-2
S.J.Chun wrote:
> Hi,
>
> GST 3.1 has new syntax for easier scripting, right?

3.0 too. ;-)

> But there's very little number of
> examples using this new syntax; for example SimpleEcho series of example uses old
> syntax - yes, one can translate using kernel code as reference to make a new version
> with new syntax - and emacs does not support new syntax very well.

These are bugs, you can report them.

Regarding examples, please go ahead and translate them or ask which ones
you'd like to see translated.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Re: [Q] Examples using New Syntax?

Chun, Sungjin
In reply to this post by Chun, Sungjin
For emacs part, unlike cc-mode, smalltalk mode does not prevent me
from making unneeded tabs; for example, if you write;

Object subclass: MySubclass.

and in the first character of that line - 'O' press 'tab' key, it just insert
another tab, instead of preventing it. And

Object subclass: MySubclass [
    newMethod: param [
    ]
]

after type "newMethod" and you want to type ":", now you cannot type
":" without typing [] first.

I found another abnormal things but these are what I've encountered most
often.

Thank you.


For example part, I'll try to translate and report them if I have meaningful
result or encountered any problem.

Thank you again.

----- Original Message -----
   From: Paolo Bonzini <[hidden email]>
   To: "S.J.Chun" <[hidden email]>
   Cc: GNU Smalltalk <[hidden email]>
   Sent: 08-11-24 17:18:39
   Subject: Re: [Help-smalltalk] [Q] Examples using New Syntax?

  S.J.Chun wrote:
> Hi,
>
> GST 3.1 has new syntax for easier scripting, right?

3.0 too. ;-)

> But there's very little number of
> examples using this new syntax; for example SimpleEcho series of example uses old
> syntax - yes, one can translate using kernel code as reference to make a new version
> with new syntax - and emacs does not support new syntax very well.

These are bugs, you can report them.

Regarding examples, please go ahead and translate them or ask which ones
you'd like to see translated.

Paolo



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk