Improve Data Statement

Registered by Eike

The data statement needs an own a mini language, so that common ways of configuring objects can be done. This mini language should be flexible and extensible, so it can be used in the compile statement too.

Tasks are specifying: type, role, unit, default value, value, ...
An example a good mini language are Python's function parameters.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

- Syntax for the data/compile statement should have arbitrary keywords.

- Maybe a syntax for anonymous structured component types, complicated structures can be specified in a compact
  way. Especially interesting in conjunction with tree literals.
      data a:
          data b,c: Float param
          data d: String const

See matching blueprint for object literals:
https://blueprints.launchpad.net/freeode/+spec/user-defined-literals

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.