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

Implement Public/Private Access Control for Capsule Elements #2

Open
6 tasks
alexdovzhanyn opened this issue Jun 30, 2024 · 0 comments
Open
6 tasks
Labels
enhancement New feature or request investigation This needs further investigation before coming to a decision

Comments

@alexdovzhanyn
Copy link
Collaborator

Investigate the syntax for addition of public/private elements in a capsule (e.g., private functions and variables). Elements not explicitly marked as private should be considered public by default.

Subtasks:

  • Research common syntax conventions for public/private access control in programming languages.
  • Define a syntax for specifying public/private elements in a capsule.
  • Implement parsing logic for the new syntax in the lexer and parser.
  • Update AST nodes to support public/private access control.
  • Ensure the default access level for elements is public unless explicitly marked as private.
  • Write unit tests to verify the correct handling of public/private elements.
@alexdovzhanyn alexdovzhanyn added enhancement New feature or request investigation This needs further investigation before coming to a decision labels Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request investigation This needs further investigation before coming to a decision
Projects
None yet
Development

No branches or pull requests

1 participant