Open
Description
The language should also have a type for (size-indexed?) multidimensional arrays. e.g. you could imagine some kind of high-powered sensor device that would return a 2D array of the robot's surroundings, allowing it to do things like pathfinding.
There's a lot of language design to be done here; this issue is something of a placeholder. Should they be mutable? Immutable? What kinds of operations should they support? Should the type of an array reflect its dimension? Its size along each dimension? etc.?
Metadata
Assignees
Labels
A larger project, more suitable for experienced contributors.This issue has to do with the CESK machine (the Swarm language interpreter).Built-in commands (e.g. move, try, if, ...) in the Swarm language.Issues relating to the overall design of the Swarm language.Issues related to the Swarm language type system.The bug fix or feature would be nice but doesn't currently have much negative impact.A new feature to be added to the game.