asummers / erlex

Convert Erlang style structs and error messages to equivalent Elixir.
Other
34 stars 17 forks source link

Resolve Shift/Reduce Warnings #11

Open asummers opened 5 years ago

asummers commented 5 years ago

See https://github.com/jeremyjh/dialyxir/issues/182

isaacsanders commented 4 years ago

Most of these warnings will be best solved by a refactoring of the lexical scanner. The manner in which atoms are constructed is part of the problem. (That is all known and referenced in jeremyjh/dialyxir#182)

I think if the atom nonterminal was split into a quoted atom rule and a bare atom rule, that might help simplify things.

Approaching it the same way that Elixir does, with two syntaxes for atoms, will allow for more direct processing.