Skip to content

Array type #98

Open
Open
@byorgey

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

No one assigned

    Labels

    C-ProjectA larger project, more suitable for experienced contributors.G-CESK machineThis issue has to do with the CESK machine (the Swarm language interpreter).L-CommandsBuilt-in commands (e.g. move, try, if, ...) in the Swarm language.L-Language designIssues relating to the overall design of the Swarm language.L-Type systemIssues related to the Swarm language type system.S-Nice to haveThe bug fix or feature would be nice but doesn't currently have much negative impact.Z-FeatureA new feature to be added to the game.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions