Skip to content

Commit

Permalink
chore: operators \' and \~ are context-free in PARI/GP + turn test fi…
Browse files Browse the repository at this point in the history
…lenames into lower case
  • Loading branch information
piotr-semenov committed Apr 25, 2024
1 parent f7b6bc0 commit 35553be
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/operators.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ repository:
match: '(\~)'
name: keyword.operator.transpose
-
match: "[\\b\\)](\\')"
match: "(\\')"
name: keyword.operator.derivative
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions tests/Operators.test.gp → tests/operators.test.gp
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@
[1, 2, 3; 4, 5, 6]~
## ^ source.parigp keyword.operator.transpose

('x^2 + 1)'
## ^ source.parigp keyword.operator.derivative
[('x^2 + 1)', 1; 1, 'x]'
## ^ source.parigp keyword.operator.derivative
## ^ source.parigp keyword.operator.derivative

0 comments on commit 35553be

Please sign in to comment.