-
Notifications
You must be signed in to change notification settings - Fork 743
Comparing changes
Open a pull request
base repository: rouge-ruby/rouge
base: v3.14.0
head repository: rouge-ruby/rouge
compare: v3.15.0
- 12 commits
- 29 files changed
- 8 contributors
Commits on Dec 15, 2019
-
Add addrspacecast keyword, change keyword matching system in LLVM lex…
…er (#1376) This commit adds memoising singleton methods and switches to using `Array#include?` to match against a set of keywords. This reduces memory usage and allows for the keywords to be ordered alphabetically. Finally, the `addrspacecast` keyword is added.
Configuration menu - View commit details
-
Copy full SHA for c93ca78 - Browse repository at this point
Copy the full SHA c93ca78View commit details
Commits on Dec 18, 2019
-
This commit adds a lexer for the FreeFEM language.
Configuration menu - View commit details
-
Copy full SHA for 2caa1a0 - Browse repository at this point
Copy the full SHA 2caa1a0View commit details
Commits on Dec 23, 2019
-
This commit adds a lexer for the GHC Core language.
Configuration menu - View commit details
-
Copy full SHA for 78bc930 - Browse repository at this point
Copy the full SHA 78bc930View commit details -
Fix comment parsing in Console lexer (#1379)
The Console lexer would not correctly parse comments if only the `comments` option was enabled. This was because of a bug in the way the prompt's regular expression pattern worked. This commit fixes that bug and adds a series of tests to confirm the behaviour of the lexer is as intended.
Configuration menu - View commit details
-
Copy full SHA for bf40c4c - Browse repository at this point
Copy the full SHA bf40c4cView commit details
Commits on Jan 5, 2020
-
Add division operator to Rust lexer (#1384)
The division operator was missing from the list of operators in the Rust lexer. This commit adds the operator as well as some visual samples to cover operator usage.
Configuration menu - View commit details
-
Copy full SHA for d342877 - Browse repository at this point
Copy the full SHA d342877View commit details -
Fix parsing of 'false' as Boolean option value (#1382)
Rouge allows for options to be passed to a lexer's constructor method. The options are parsed from strings and the string 'false' was not being converted to the Boolean value `false`. This commit fixes that and also adds a rudimentary series of tests to ensure that Boolean options are being properly parsed.
Configuration menu - View commit details
-
Copy full SHA for e22ce33 - Browse repository at this point
Copy the full SHA e22ce33View commit details -
Add some keyword and key-path syntax to Swift lexer (#1332)
This commit adds support for the `some` keyword and `\.Type.variable` key-path syntax to the Swift lexer.
Configuration menu - View commit details
-
Copy full SHA for 3ed2f30 - Browse repository at this point
Copy the full SHA 3ed2f30View commit details
Commits on Jan 7, 2020
-
Allow spaces after filter pipes in Jinja lexer (#1385)
This commit allows for optional spaces after filter pipes in the Jinja lexer.
Configuration menu - View commit details
-
Copy full SHA for 81e3b8d - Browse repository at this point
Copy the full SHA 81e3b8dView commit details
Commits on Jan 8, 2020
-
Add Objective-C++ lexer (#1378)
This commit adds a lexer for Objective-C++. Since Ruby does not support multiple inheritance, the Objective-C rules previously defined in the Objective-C lexer are factored out into a common module that can be used by both lexers. Accordingly, this commit also updates the Objective-C lexer to use this module. As the common module uses memoised methods (e.g. `at_keywords`) that are referred to within rules included in the common module, lexers that use the common module need to use `Object#extend` rather than `Module#include`. Consequently, the memoised methods are not prefixed with `self` as would typically be the case. This is different to other factored-out modules intended for reuse in lexers (e.g. the `TypescriptCommon` module).
Configuration menu - View commit details
-
Copy full SHA for 7d9f158 - Browse repository at this point
Copy the full SHA 7d9f158View commit details -
Improve comments in Jinja lexer (#1386)
This commit improves support for comments in Jinja files. Previously, multiline comments would contain error tokens if the commented text contained the `{` character. This commit also adds support for single-line comments.
Configuration menu - View commit details
-
Copy full SHA for 39ec4a4 - Browse repository at this point
Copy the full SHA 39ec4a4View commit details
Commits on Jan 12, 2020
-
Add Starlark support to Python lexer (#1369)
Starlark is a dialect of Python that is used to configure the Bazel build system. This adds file extensions to the Python lexer that are used for files written in Starlark.
Configuration menu - View commit details
-
Copy full SHA for 108737b - Browse repository at this point
Copy the full SHA 108737bView commit details
Commits on Jan 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0e6b3a6 - Browse repository at this point
Copy the full SHA 0e6b3a6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.14.0...v3.15.0