Pull requests

#94 Merged
Repository
greghendershott greghendershott
Branch
default
Repository
birkenfeld birkenfeld
Branch
default

Add lexer for Racket language

Author
  1. Greg Hendershott
Reviewers
Description

Previously *.rkt files were handled by SchemeLexer. Although Racket is a descendant of Scheme, and that was better than nothing, it was not as good as it could be. For example, Racket treats square brackets [] like parentheses (), but SchemeLexer highlights them as "errors".

Some background information and support for doing this can be found on the Racket discussion list. Archive: https://groups.google.com/forum/?fromgroups#!topic/racket-users/ePvzaQ-jZKg%5B1-25%5D

Comments (6)

    1. Greg Hendershott author

      I'm very sorry. I had deliberately included examples of errors in example.rkt to demonstrate that the lexer was correctly highlighting them as errors. I did not realize doing so would cause the unit tests to fail.

      I pushed a new commit. I'll issue a new pull request.

      Thank you very much for your patience with my contribution.