This repository has been archived by the owner on Jun 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Version 1.9: Fix #18, #33, #34, #36, #38, #40, #41, #44 and many other fixes. Add CHANGELOG.md #43
Open
samcv
wants to merge
85
commits into
MadcapJake:master
Choose a base branch
from
perl6:testing
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…double quotes and other interpolated strings Such as "$<myvar>" for example
samcv
changed the title
Have all qq[] constructs use interpolation. Fixes #18
Many fixes.
Dec 2, 2016
Add antipairs, categorize and prepend to the methods that will be highlighted.
samcv
changed the title
Fix #18, #33, #41 and #38 Many fixes.
Fix #18, #33, $40, #41 and #38 Many fixes.
Dec 2, 2016
Very nice! At work now, but maybe we can get 1.9.0 released tonight! Will be home in approx 10 hours to merge this. |
Fix MadcapJake/language-perl6fe/#44 Example: \#`( )
samcv
changed the title
Fix #18, #33, $40, #41 and #38 Many fixes.
Fix #18, #33, $40, #41, #44 and #38 Many fixes.
Dec 2, 2016
@MadcapJake today I will work on making the list of things fixed in the PR text be something nice we can use for the official changelog. |
Was already working for “ ” fancy quotes.
Fixes MadcapJake/language-perl6fe/#36
samcv
changed the title
Fix #18, #33, $40, #41, #44 and #38 Many fixes.
Fix #18, #33, #36, #38, $40, #41, #44 and many other fixes.
Dec 2, 2016
samcv
changed the title
Fix #18, #33, #36, #38, $40, #41, #44 and many other fixes.
Fix #18, #33, #36, #38, $40, #41, #44 and many other fixes. Add CHANGELOG.md
Dec 2, 2016
Fixes MadcapJake/language-perl6fe/#34
samcv
changed the title
Fix #18, #33, #36, #38, $40, #41, #44 and many other fixes. Add CHANGELOG.md
Fix #18, #33, #34, #36, #38, #40, #41, #44 and many other fixes. Add CHANGELOG.md
Dec 3, 2016
Also add a template file for creating these quoting constructs This has the potential to allow us in the future to automate generation of perl6fe.cson. This can allow us to add all of the quoting constructs!
Fixes MadcapJake/language-perl6fe/#46
…acters Example: q%…%
Add #`<< >>, #`< >, #`“ ”, #`‘ ’ as a result
We also get q, qq, Q quoting using these, with no extra effort! `「…」`, `(((…)))`, `{{{…}}}`, `[[[…]]]` and`「…」`
Calling a function called `use-for-q` by doing: `use-for-q @delimiters` would start highlighting because the @ will match the q_any rules. This is actually totally valid and we still need to highlight `@` potentially. It's possible this could also trigger for the other delimiters too, so apply this to all of them, and only highlight if the previous character is whitespace or we're at the start of the line.
variables names.
Fixes half of MadcapJake/language-perl6fe/#24
This reverts commit 7397271.
Also make sure numbers at the start of a line highlight, as well as highlight immediately after a `÷` division sign a `×` multiplication sign or a `*` Working toward MadcapJake/language-perl6fe/#39 For now \x[…] only highlights in interpolated strings.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Q[…]
,q[…]
,qq[…]
constructs using a script.#`[ ]
multi-line comments using the same script.Q
,q
andqq
v1.9
Regex
m/ /
orrx/ /
appear anywhere and span multiple lines./‘…’/
. Fixes issue Qx qx highlight like Q and q when using ' " and “ ” and ‘ ’ delimiters #45/ /
appear after=>
. Mostly fixes issue Regex '/' delimiters spread over multiple lines breaks syntax highlighting #35Heredocs
q:to/📝🔚/
; Fixes issue Fancy Unicode as heredoc delimiter doesn't get recognized #36Quoting
‘testing 1 ‘2’ 3’
“testing 1 “2” 3”
「this」
quoting construct (which is a shortcut forQ[]
quoting) work.「nesting「works」」
.https://github.com/samcv/lalannguage-perl6fe/blob/testing/CHANGELOG.md#q-qq-and-q-quoting-constructs
Q
,qq
andq
quoting constructsQ
,qq
andq
constructs using(( ))
,{{ }}
,<< >>
,[ ]
,[[ ]]
,( )
,{ }
,/ /
,< >
now properly escape delimiters and other escape sequences. Fixes issue Get all q[…] and qq[…] escape delimiters and for qq make sure \t and others escape #46Q
,qq
andq
constructs using arbitrary non-word characters working. Example: q%…%Q
,qq
andq
constructs using‘…’
and“…”
. Example: q“…”Q
,qq
andq
constructs using「…」
,(((…)))
,{{{…}}}
,[[[…]]]
and「…」
.Variables
$<variables>
inside interpolated strings not syntax highlighting. Fixes issue Regex captures aren't highlighted properly in double quoted strings #41:token
:regex
:rule
not explode the highlighter. Fixes issue Syntax Highlighter Explodes when wordstoken
,rule
, orregex
are used as named argument #33qq
constructs #18Methods
.categorize
,.prepend
,.parse-base
,categorize-list
and.antipairs
methods. Fixes issue .categorize, .prepend and .antipairs methods not highlighted #38IO
related methods.long
,longlong
,Pointer
andCArray
data types/
As a metaoperator[/]
doesn't break syntax highlighting Fixes '/' As a metaoperator breaks syntax highlighting #34Comments
#`(
Multiline comments working when there is leading whitespace before the #`( Fixes issue Multiline comments don't work unless the line starts with them #44#`((( )))
,#`{{{ }}}
,#`[[[ ]]]
,#`<< >>
,#`< >
,#`“ ”
,#`‘ ’
Pod
=para
and=for
immediately stop that block. Make sure formatting doesn't run on further. Fixes issue [pod] =para continues syntax highlighting even if you start another block #51=head
highlight as comments as well. Fixes issue [pod] Abbreviated style pod blocks still highlight line directly below #50