Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding class features #257

Open
wants to merge 36 commits into
base: develop
Choose a base branch
from
Open

Conversation

thecodacus
Copy link

@thecodacus thecodacus commented Mar 27, 2022

What does this PR do?

It adds the functionality of classes to the language

hi bhai
  samajh le bhai kutta{
    bhai ye hai nam;
    apna funda janam(nam){
      iska.nam = nam;
      bol bhai iska.nam,":kau kau";
    }
    apna funda bhouk(){
      bol bhai iska.nam+":bhou bhou";
    }
  }
  bhai ye hai jimmi = kutta("jimmi");
  jimmi.bhouk();
  bol bhai "iska name hai",jimmi.nam;

bye bhai

Outputs:

jimmi :kau kau
jimmi:bhou bhou
iska name hai jimmi

What packages have been affected by this PR?

The PR will Change the Data storage structure in the interpreter

Types of changes

What types of changes does your code introduce to this project?

Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Package version increase in cli package?

No

Checklist before merging

Put an x in the boxes that apply

  • These changes have been thoroughly tested.

  • Changes need to be immediately published on npm.

@netlify
Copy link

netlify bot commented Mar 27, 2022

Deploy Preview for bhailang-preview ready!

Name Link
🔨 Latest commit 8f55ab7
🔍 Latest deploy log https://app.netlify.com/sites/bhailang-preview/deploys/638493c20592f400096d89a3
😎 Deploy Preview https://deploy-preview-257--bhailang-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@lgtm-com
Copy link

lgtm-com bot commented Mar 27, 2022

This pull request introduces 2 alerts when merging 1b22846 into dd076b3 - view on LGTM.com

new alerts:

  • 1 for Comparison between inconvertible types
  • 1 for Unneeded defensive code

@lgtm-com
Copy link

lgtm-com bot commented Jul 30, 2022

This pull request introduces 2 alerts when merging e02f30b into de68714 - view on LGTM.com

new alerts:

  • 1 for Comparison between inconvertible types
  • 1 for Unneeded defensive code

@lgtm-com
Copy link

lgtm-com bot commented Nov 28, 2022

This pull request introduces 2 alerts when merging 900f5b7 into de68714 - view on LGTM.com

new alerts:

  • 1 for Comparison between inconvertible types
  • 1 for Unneeded defensive code

Heads-up: LGTM.com's PR analysis will be disabled on the 5th of December, and LGTM.com will be shut down ⏻ completely on the 16th of December 2022. Please enable GitHub code scanning, which uses the same CodeQL engine ⚙️ that powers LGTM.com. For more information, please check out our post on the GitHub blog.

@lgtm-com
Copy link

lgtm-com bot commented Nov 28, 2022

This pull request introduces 2 alerts when merging 8f55ab7 into de68714 - view on LGTM.com

new alerts:

  • 1 for Comparison between inconvertible types
  • 1 for Unneeded defensive code

Heads-up: LGTM.com's PR analysis will be disabled on the 5th of December, and LGTM.com will be shut down ⏻ completely on the 16th of December 2022. Please enable GitHub code scanning, which uses the same CodeQL engine ⚙️ that powers LGTM.com. For more information, please check out our post on the GitHub blog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant