-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfestA good issue to work on for HacktoberfestA good issue to work on for Hacktoberfesthelp wantedExtra attention is neededExtra attention is needed
Description
Currently types get parsed when they are written like so:
x<Function<Number, Number, Number>> = () -> ...this works fine, but I think we should change the type declaration syntax to be a bit easier to read. It would be preferable to write type declarations like so:
x: Function<Number, Number, Number> = () -> ...This is a little clearer as to what is the variable and what is the type.
- [] Update the parser to correctly parse type declarations in the new format
- [] Update all of the lexer, parser, typechecker, and codegen tests to use the new type declaration format. The logic of the tests themselves should not need to be updated.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfestA good issue to work on for HacktoberfestA good issue to work on for Hacktoberfesthelp wantedExtra attention is neededExtra attention is needed