-
Notifications
You must be signed in to change notification settings - Fork 641
Open
Labels
Description
This issue gathers minor topics about the Elm parser.
These topics are not the reason to delay merging #3312, Peg based ELM parser.
- normalize typeref values
port outgoing : Enc.Value -> Cmd msg
Though many spaces are between Value
and ->
, the tags output should be:
outgoing ... typeref:description:Enc.Value -> Cmd msg roles:def
or
outgoing ... typeref:description:Enc.Value->Cmd msg roles:def
The request for normalization is popular. So vString should provides a utility function that can be used in many parsers.
- normalize signature fields
- tagging function parameters
- exported (or exposed) role for tagging
f
inimport A exposing (f)
module A exposing (f)
as a reference tag -
attach(I misunderstood the meaning offile:
field iff
is exposed from a modulefile:
.)
Quoted from elm.peg:
# To do:
# Maybe do:
# - let/in blocks
# - Allow tuples on the LHS. Eg '(val1, val2) = valFunc'.
# - Inner functions' type annotations are used in the function's
# type description.
# - Inner functions can have more complex parameters.
# - Functions
# - Allow non-Latin upper and lower case. Use
# https://util.unicode.org/UnicodeJsps/properties.html
# combined with \p{Lu}, \p{Ll} and \p{L}.