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

enhancement: new keywords and syntax support #3

Merged
merged 8 commits into from
Aug 9, 2023

Conversation

sarvalabs-sarthak
Copy link
Member

Description

  • callable functions are now renamed to endpoints
  • 'local' is no longer a function modifier keyword
  • 'func' by default now denotes a locally callable function
  • 'elif 'support is dropped, 'else if' must be used in conditional statements
  • 'join' and 'len' are now special method keywords
  • var is now fixed to allow multiple named variables of same type in one line
  • version updated to 0.1.1

Changes include

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

Checklist

  • I have assigned this PR to myself
  • I have added at least 1 reviewer
  • I have tested this code

- func with modifiers refactored to endpoints
- func now does not allow any modifiers and acts as a local function by default
- 'else if' must be used in conditional statements
- var a, b, c U64 and similar are now separated
- join is now highlighted as a keyword
@sarvalabs-sarthak sarvalabs-sarthak added the enhancement New feature or request label Aug 8, 2023
@sarvalabs-sarthak sarvalabs-sarthak self-assigned this Aug 8, 2023
sarvalabs-manish and others added 2 commits August 9, 2023 00:28
- moved polorize and depolorize as keywords for serial builtins.
- fixed crypto builtins
- '?' inclusivity operator added
Copy link
Member

@sarvalabs-manish sarvalabs-manish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@sarvalabs-manish sarvalabs-manish merged commit feb2379 into main Aug 9, 2023
@sarvalabs-manish sarvalabs-manish deleted the feature/new-keywords branch August 9, 2023 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants