mani-language / Mani

Máni ... an awesome, super simple programming language!
https://mani-language.github.io/
Mozilla Public License 2.0
28 stars 7 forks source link

Add support for break in switch-case #105

Closed ankitshubham97 closed 5 years ago

ankitshubham97 commented 5 years ago

name: support for break in switch-case about: I have added support for break in switch-case to the language.

Is your PR related to a feature request or Bug report? If applicable, please list feature request number or bug report ID.

It is an improvement to an existing feature #79 .

Describe intended use A clear and concise description of the intended use of the feature. Along with example code.

I will add relevant usage examples in the test file in the subsequent commit

How did you fix the bug? If applicable, how did you fix the bug? Please use code snippets too.

N/A

Is it in the form of a library

If applicable what is the library called?

N/A

Does your PR replace an existing system If applicable, please describe how this PR changes the use of a related item.

no

Additional comments Add any additional comments or screenshots here.

crazywolf132 commented 5 years ago

Good work. Will merge later today. Please write docs for this.

ankitshubham97 commented 5 years ago

@crazywolf132 Could you elaborate more on writing the docs? I am not sure what exactly needs to be done.

crazywolf132 commented 5 years ago

Hi, I am looking for something like the following.

https://mani-language.github.io/#/controlflow?id=if-statement

It's to be on the same page as the if statement.

Maybe just describe how to use it, and give some examples. Pretty much the same as the if statement.

On Sun, 18 Aug. 2019, 5:42 am Ankit Shubham, notifications@github.com wrote:

@crazywolf132 https://github.com/crazywolf132 Could you elaborate more on writing the docs? I am not sure what exactly needs to be done.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mani-language/Mani/pull/105?email_source=notifications&email_token=ABQLEW3HH2ADMMKQYSQNLZLQFBICVA5CNFSM4IL7N2B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4QSFJI#issuecomment-522265253, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQLEW5PA3C5DB4ADY3VSRTQFBICVANCNFSM4IL7N2BQ .