Skip to content
This repository was archived by the owner on Jun 9, 2023. It is now read-only.

Support foo.:bar #49

Closed
stevengj opened this issue May 10, 2016 · 3 comments
Closed

Support foo.:bar #49

stevengj opened this issue May 10, 2016 · 3 comments

Comments

@stevengj
Copy link
Member

As of JuliaLang/julia#15032, the parser now accepts foo.:bar

@stevengj
Copy link
Member Author

Or rather, the new parser now parses this the same way that the old parser parsed foo.(:bar).

@jakebolewski
Copy link
Member

jakebolewski commented Jul 12, 2016

julia> Meta.show_sexpr(parse("foo.:bar"))
(:., :foo, (:quote, #QuoteNode
    :bar
  ))
julia> Meta.show_sexpr(JuliaParser.parse("foo.:bar"))
(:., :foo, (:quote, #QuoteNode
    :bar
  ))
julia> Meta.show_sexpr(parse("foo.(:bar)"))
(:., :foo, (:tuple, (:quote, #QuoteNode
      :bar
    )))
julia> Meta.show_sexpr(JuliaParser.parse("foo.(:bar)"))
(:., :foo, (:tuple, (:quote, #QuoteNode
      :bar
    )))

@stevengj this is fixed?

@stevengj
Copy link
Member Author

Lgtm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants