ngs-lang / ngs

Next Generation Shell (NGS)
https://ngs-lang.org/
GNU General Public License v3.0
1.46k stars 41 forks source link

Clarification about new types' methods and data members #545

Closed rdje closed 2 years ago

rdje commented 2 years ago

Reading NGS version 0.2.13 manual it wasn't crystal clear whether or not one could add type specific methods and data members.

It turned out new types don't have methods per se and also their data/variable members are not declared. Type data/variable members spring into existence when assigned a value.

It would help if those aspects could be clarified in order to remove any ambiguities especially when coming from languages implementing classes.

ilyash-b commented 2 years ago

@rdje , https://github.com/ngs-lang/ngs/commit/ef518167c4119a9f44e867376673b852a3edf08a - what do you think?

OK - close the issue Not OK - comment here and/or create pull request with improvements

rdje commented 2 years ago

Ilya,

I am ok with the clarification.

-Richard

On Tue, 8 Feb 2022 at 11:22, Ilya Sher @.***> wrote:

@rdje https://github.com/rdje , ef51816 https://github.com/ngs-lang/ngs/commit/ef518167c4119a9f44e867376673b852a3edf08a

  • what do you think?

OK - close the issue Not OK - comment here and/or create pull request with improvements

— Reply to this email directly, view it on GitHub https://github.com/ngs-lang/ngs/issues/545#issuecomment-1032445511, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASSKVHFOLA6LFM32QPKLCZ3U2DVFBANCNFSM5NV36FFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>