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
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