Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Improve server model #338

Open
5 of 7 tasks
lars-reimann opened this issue Dec 15, 2021 · 0 comments
Open
5 of 7 tasks

Improve server model #338

lars-reimann opened this issue Dec 15, 2021 · 0 comments
Labels
enhancement 💡 New feature or request

Comments

@lars-reimann
Copy link
Member

lars-reimann commented Dec 15, 2021

Is your feature request related to a problem? Please describe

The server model has a few shortcomings.

Tasks

  • Infer the name from the qualified name or vice versa.
  • Store imports needed for typing and imports needed for calls separately. Only the type-related imports should appear in stubs.
  • Represent calls (qualified name of called function + arguments); must also work for enums/parameter objects; then parameters no longer need a link to the original declaration
  • Represent arguments (expression + optional name)
  • Represent references (e.g. to parameter)
  • Represent values/literals (string, int etc.). Useful for calls and default values.
  • Represent constraints (e.g. boundary) -> create an if + raise in codegen; also rename boundary to constraints
@lars-reimann lars-reimann added the enhancement 💡 New feature or request label Dec 15, 2021
@lars-reimann lars-reimann self-assigned this Dec 15, 2021
@lars-reimann lars-reimann moved this to Backlog in Safe-DS Dec 15, 2021
@lars-reimann lars-reimann moved this from Backlog to To do in Safe-DS Dec 15, 2021
@lars-reimann lars-reimann moved this from To do to Backlog in Safe-DS Dec 21, 2021
@lars-reimann lars-reimann moved this from Backlog to To do in Safe-DS Jan 6, 2022
@lars-reimann lars-reimann moved this from To do to Backlog in Safe-DS Jan 13, 2022
@lars-reimann lars-reimann moved this to Backlog in API Editor Jul 10, 2022
@lars-reimann lars-reimann removed this from Safe-DS Jul 10, 2022
@lars-reimann lars-reimann removed their assignment Jul 10, 2022
@lars-reimann lars-reimann removed this from API Editor Mar 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement 💡 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant