Skip to content

Missing list operations support (insert, remove, search, count, slice) #176

@yogendra-17

Description

@yogendra-17

Summary

Currently, LiteralList is lowered only as a constant array representation, but there is no operational support for list manipulation.
While list literals can be created, there are no corresponding AST nodes or lowering implementations for common list operations. This makes lists effectively immutable containers with no usable runtime behavior.

Missing Functionality

The following core list operations are currently unsupported:

  • list.append(value)
  • list.insert(index, value)
  • list.remove(value)
  • list.get(index)
  • list.len()
  • list.contains(value)
  • list.count(value)
  • list.slice(start, end)

Additional Information

Code of Conduct

  • I agree to follow the Code of Conduct

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions