-
Notifications
You must be signed in to change notification settings - Fork 94
Comparing changes
Open a pull request
base repository: MagicStack/MagicPython
base: v1.0.11
head repository: MagicStack/MagicPython
compare: master
Commits on Jul 21, 2017
-
1
Configuration menu - View commit details
-
Copy full SHA for d39070f - Browse repository at this point
Copy the full SHA d39070fView commit details
Commits on Aug 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 361a496 - Browse repository at this point
Copy the full SHA 361a496View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for dcb1a38 - Browse repository at this point
Copy the full SHA dcb1a38View commit details -
Highlight
.
in its own scope. (#101)The scope for `.` is `punctuation.separator.period.python`.
1Configuration menu - View commit details
-
Copy full SHA for b453f26 - Browse repository at this point
Copy the full SHA b453f26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 935abef - Browse repository at this point
Copy the full SHA 935abefView commit details
Commits on Jul 10, 2018
-
1
Configuration menu - View commit details
-
Copy full SHA for f340032 - Browse repository at this point
Copy the full SHA f340032View commit details
Commits on Jul 19, 2018
-
Update string formatting scopes.
Add two scopes for finer control of format highlighting: - meta.format.percent.python - meta.format.brace.python Issue #106.
1Configuration menu - View commit details
-
Copy full SHA for fb56c6a - Browse repository at this point
Copy the full SHA fb56c6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2780782 - Browse repository at this point
Copy the full SHA 2780782View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c874c6 - Browse repository at this point
Copy the full SHA 9c874c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c43d1c - Browse repository at this point
Copy the full SHA 7c43d1cView commit details -
Update the
*
and**
in funciton call scopes.Use `keyword.operator.unpacking.arguments.python` more consistently. Issue #132.
1Configuration menu - View commit details
-
Copy full SHA for ad6bd62 - Browse repository at this point
Copy the full SHA ad6bd62View commit details
Commits on Sep 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for cc2b832 - Browse repository at this point
Copy the full SHA cc2b832View commit details
Commits on Oct 4, 2018
-
Bugfix for an apparent infinite loop in grammar. (#163)
This is a case of semantically equivalent regex not being computationally equivalent. The issue also relates to how negative character classes (e.g. `[^abc]`) are treated. In the end I had to replace something of the form `(A | B)*` with `A* (BA*)*` to avoid grinding the regex engine to a halt. Issue #150.
Configuration menu - View commit details
-
Copy full SHA for 1b72e04 - Browse repository at this point
Copy the full SHA 1b72e04View commit details -
Configuration menu - View commit details
-
Copy full SHA for a891320 - Browse repository at this point
Copy the full SHA a891320View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4030374 - Browse repository at this point
Copy the full SHA 4030374View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9540297 - Browse repository at this point
Copy the full SHA 9540297View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8893ca - Browse repository at this point
Copy the full SHA c8893caView commit details -
Configuration menu - View commit details
-
Copy full SHA for da6fa07 - Browse repository at this point
Copy the full SHA da6fa07View commit details
Commits on Oct 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1417e08 - Browse repository at this point
Copy the full SHA 1417e08View commit details
Commits on Oct 21, 2018
-
This PR adds missing part of a word in the comment.
Configuration menu - View commit details
-
Copy full SHA for ea55e27 - Browse repository at this point
Copy the full SHA ea55e27View commit details -
Scope
from
,import
, andas
the same way in imports. (#165)Use `keyword.control.import.python` scope for `from`, `import`, and `as` keywords when they appear as part of an import statement. Use `keyword.control.flow.python` scope for `from` and `as` if they appear elsewhere. Issue: #123.
Configuration menu - View commit details
-
Copy full SHA for 8ff35b3 - Browse repository at this point
Copy the full SHA 8ff35b3View commit details
Commits on Mar 15, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 38422d3 - Browse repository at this point
Copy the full SHA 38422d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e57ccc1 - Browse repository at this point
Copy the full SHA e57ccc1View commit details
Commits on Oct 17, 2019
-
Add a
meta.member.access.python
scope.Add a `meta.member.access.python` scope wrapping around any attribute access or method call. Fixes #188.
Configuration menu - View commit details
-
Copy full SHA for c0f8d51 - Browse repository at this point
Copy the full SHA c0f8d51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 076e2bb - Browse repository at this point
Copy the full SHA 076e2bbView commit details
Commits on Oct 22, 2019
-
Add an
update-test
make target.The `update-test` make target will automatically update the output of any test that failed. This kind of bulk update is intended to be used when the changes to scopes affect a large number of files. Of course, the actual updated tests should still be reviewed for correctness.
1Configuration menu - View commit details
-
Copy full SHA for 9d40c71 - Browse repository at this point
Copy the full SHA 9d40c71View commit details
Commits on Feb 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c9b3409 - Browse repository at this point
Copy the full SHA c9b3409View commit details
Commits on Mar 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0b09c1f - Browse repository at this point
Copy the full SHA 0b09c1fView commit details
Commits on May 1, 2020
-
Add some more specific scopes for member access.
Add `meta.attribute.python` to mark otherwise non-special attributes. Add `meta.indexed-name.python` to mark the name of the object being indexed. In combination with `meta.member.access.python` the above scopes can help highlight member access that is no otherwise using a builtin or some other special case. For highlighting method names in method calls the combination of `meta.member.access.python` and `meta.function-call.generic.python` could be used. Fixes #188.
Configuration menu - View commit details
-
Copy full SHA for dd48b8f - Browse repository at this point
Copy the full SHA dd48b8fView commit details -
Improve detection of call signature and kwargs.
Correctly identify calls of the form "foo[123](bar=2)" to highlight the contents of the parentheses as call arguments. Issue: #197
Configuration menu - View commit details
-
Copy full SHA for 72ccccb - Browse repository at this point
Copy the full SHA 72ccccbView commit details -
Update the way "in" is scoped.
The "in" keyword is scoped as either `keyword.operator.logical.python` or as `keyword.control.flow.python` depending on whether it appears as part of a "for ... in" construct. Fixes: #193
1Configuration menu - View commit details
-
Copy full SHA for 2ca894f - Browse repository at this point
Copy the full SHA 2ca894fView commit details
Commits on May 18, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b4b2e6e - Browse repository at this point
Copy the full SHA b4b2e6eView commit details
Commits on Jul 31, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 225fa4c - Browse repository at this point
Copy the full SHA 225fa4cView commit details -
2
Configuration menu - View commit details
-
Copy full SHA for b2b4f4a - Browse repository at this point
Copy the full SHA b2b4f4aView commit details
Commits on Nov 12, 2020
-
Github doesn't seem to use MP for highlighter tokenization
MagicPython is still used by Linguist, but the actual syntax hightlighting seems to be driven by something else now. Thus, remove the outdated statement from the README. Closes: #225
1Configuration menu - View commit details
-
Copy full SHA for 2802ded - Browse repository at this point
Copy the full SHA 2802dedView commit details
Commits on Oct 14, 2022
-
Add walrus operator `:=`. Add positional only args separator `/`. Add `=` to f-string formatting. Fixes #189
1Configuration menu - View commit details
-
Copy full SHA for db32a0d - Browse repository at this point
Copy the full SHA db32a0dView commit details -
Make raw f-strings consistent.
Any f-string allows variable interpolation, that includes a raw f-string. Make all raw prefixes (`r` or `R`) behave the same way in combination with `f` prefix. Fixes #186
1Configuration menu - View commit details
-
Copy full SHA for 5b5f388 - Browse repository at this point
Copy the full SHA 5b5f388View commit details
Commits on Oct 19, 2022
-
Update the syntax to Python 3.10
Update the built-ins, dunders and add `match` and `case` keywords.
1Configuration menu - View commit details
-
Copy full SHA for 7d0f2b2 - Browse repository at this point
Copy the full SHA 7d0f2b2View commit details
There are no files selected for viewing