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

Add arrays #32

Open
4 tasks
tk744 opened this issue Dec 15, 2020 · 0 comments
Open
4 tasks

Add arrays #32

tk744 opened this issue Dec 15, 2020 · 0 comments
Labels
feature New enhancement semantics Related to the evaluator syntax Related to the lexer or parser

Comments

@tk744
Copy link
Owner

tk744 commented Dec 15, 2020

  • constructor - x = [1, 2, 3, 4]
  • indexing - x[1] == 2
  • slicing - x[2:4] == [3, 4]
  • iteration - x = [1:10]; for i in x { }
@tk744 tk744 added semantics Related to the evaluator feature New enhancement syntax Related to the lexer or parser labels Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New enhancement semantics Related to the evaluator syntax Related to the lexer or parser
Projects
None yet
Development

No branches or pull requests

1 participant