1. Georg Brandl
  2. pygments-main
  3. Pull requests

Pull requests

#372 Merged
Repository
megajoule
Branch
default
Repository
birkenfeld
Branch
default

Update ElixirLexer and ElixirConsoleLexer

Author
  1. megajoule
Reviewers
Description

Update ElixirLexer and example_elixir.ex

Elixir syntax has evolved quite significantly since the initial lexer was written. In this update I have rewritten most of the code to support modern Elixir (as of v0.14.0-dev).

The example file has also been updated to give an quick overview of most of the language constructs.

This PR obsoletes https://bitbucket.org/birkenfeld/pygments-main/pull-request/335/update-the-elixir-syntax/diff

  • Learn about pull requests

Comments (3)

  1. Tim Hatch

    A couple of comments below; Regexlint is happy, which is good. Note: your example_iex file should be iex_example instead (make test should indicate this). Once you take care of those, good to go.

    1. megajoule author

      Hi, Tim. I have added a commit with the fixes according to your last comment. Let me know if there is anything else that needs fixing.

      Thanks!

  2. megajoule author

    Yes, sorry. I tried running tests before, but some of them failed with output of unmanageable size.

    But that was Python 2.7. I've just tried with Python 3.4 and got the error message you mentioned.

    Should I amend the commit or add a new one?