Closed bast closed 5 years ago
As for complex numbers, I will remove them from the Getkw grammar, as they were not part of the original "specification". We might have to resort to separate real and imaginary parts or have an implicit translation predicate from str
to complex
.
So at least from my (validation) perspective, complex numbers are not a problem - I was only "lazy" to solve it today but it's a two-line workaround. But perhaps I misunderstood the comment.
Really looking awesome! Thanks @bast :confetti_ball: :green_apple:
Prototyping input validation. For reference see #2.
Few notes:
I know that the Python can be beautified and compacted but already at this stage all feedback welcome. You can run the example by stepping into the directory and running
validate.py
.