Skip to content
This repository has been archived by the owner on Jun 19, 2022. It is now read-only.

Version 1.9: Fix #18, #33, #34, #36, #38, #40, #41, #44 and many other fixes. Add CHANGELOG.md #43

Open
wants to merge 85 commits into
base: master
Choose a base branch
from

Conversation

samcv
Copy link
Contributor

@samcv samcv commented Dec 2, 2016

  • Add CONTRIBUTING.md
  • Automate the generation of all of the Q[…], q[…], qq[…] constructs using a script.
  • Automate the generation of all #`[ ] multi-line comments using the same script.
  • As an awesome bonus this allows us to add new types of brackets by only adding those brackets to the script for both comments and Q, q and qq

v1.9

Regex

Heredocs

Quoting

Q, qq and q quoting constructs

  • Q, qq and q 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 #46
  • Get Q, qq and q constructs using arbitrary non-word characters working. Example: q%…%
  • Add Q, qq and q constructs using ‘…’ and “…”. Example: q“…”
  • Add Q, qq and q constructs using 「…」, (((…))), {{{…}}}, [[[…]]] and「…」.

Variables

Methods

Comments

Pod

@samcv 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 samcv changed the title Many fixes. Fix #18, #33, #41 and #38 Many fixes. Dec 2, 2016
@samcv samcv changed the title Fix #18, #33, #41 and #38 Many fixes. Fix #18, #33, $40, #41 and #38 Many fixes. Dec 2, 2016
@MadcapJake
Copy link
Owner

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.

@samcv 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
@samcv
Copy link
Contributor Author

samcv commented 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.

@samcv 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 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
@samcv 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
samcv added 15 commits December 6, 2016 18:00
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!
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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'/' As a metaoperator breaks syntax highlighting
3 participants