Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add type checker #664

Closed
foresterre opened this issue Nov 8, 2020 · 0 comments
Closed

Add type checker #664

foresterre opened this issue Nov 8, 2020 · 0 comments

Comments

@foresterre
Copy link
Owner

foresterre commented Nov 8, 2020

  • The type checker must ensure scripts and cli options are type compatible

    • for example: an inform action doesn't return an image buffer
    • for example: resize x: Into<SizeUnit> y: Into<SizeUnits> takes for both x and y a certain size unit. This may be a pixel, but also a percentage as propose in Add unit parsing for operation arguments #600. Our type checker should be able to verify the type can be taken by the resize fn
  • We should be able to run the type checker on "compile time", that is before a user ever supplies an actual image

@foresterre foresterre added this to the 0.16.0 milestone Nov 8, 2020
@foresterre foresterre removed this from the 0.16.0 milestone Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant