Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
breck7 committed Nov 30, 2024
1 parent c628863 commit 0ca9fd5
Show file tree
Hide file tree
Showing 18 changed files with 24 additions and 21 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scroll-cli",
"version": "158.0.4",
"version": "159.0.0",
"description": "A language for scientists of all ages. A curated collection of tools for refining and sharing thoughts.",
"main": "scroll.js",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion parsers/author.parsers
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ authorsParser
popularity 0.007379
// multiple authors delimited by " and "
boolean isPopular true
extends paragraphParser
extends scrollParagraphParser
description Set author(s) name(s).
example
authors Breck Yunits
Expand Down
2 changes: 1 addition & 1 deletion parsers/blink.parsers
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
blinkParser
description Just for fun.
extends paragraphParser
extends scrollParagraphParser
example
blink Carpe diem!
cue blink
Expand Down
2 changes: 1 addition & 1 deletion parsers/buttons.parsers
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
scrollButtonParser
extends paragraphParser
extends scrollParagraphParser
cue button
description A button.
postParser
Expand Down
2 changes: 1 addition & 1 deletion parsers/catchAll.parsers
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
catchAllParagraphParser
popularity 0.115562
description A paragraph.
extends paragraphParser
extends scrollParagraphParser
boolean suggestInAutocomplete false
boolean isPopular true
boolean isArticleContent true
Expand Down
2 changes: 1 addition & 1 deletion parsers/center.parsers
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ scrollCenterParser
popularity 0.006415
cue center
description A centered section.
extends paragraphParser
extends scrollParagraphParser
example
center
This paragraph is centered.
Expand Down
2 changes: 1 addition & 1 deletion parsers/counter.parsers
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
scrollCounterParser
description Visualize the speed of something.
extends paragraphParser
extends scrollParagraphParser
cue counter
example
counter 4.5 Babies Born
Expand Down
2 changes: 1 addition & 1 deletion parsers/expander.parsers
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ expanderParser
popularity 0.000072
cueFromId
description An collapsible HTML details tag.
extends paragraphParser
extends scrollParagraphParser
example
expander Knock Knock
Who's there?
Expand Down
2 changes: 1 addition & 1 deletion parsers/footnotes.parsers
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
footnoteDefinitionParser
popularity 0.001953
description A footnote. Can also be used as section notes.
extends paragraphParser
extends scrollParagraphParser
boolean isFootnote true
pattern ^\^.+$
// We need to quickLinks back in scope because there is currently a bug in ScrollSDK/parsers where if a parser extending a parent class has a child parser defined, then any regex parsers in the parent class will not be tested unless explicitly included in scope again.
Expand Down
2 changes: 1 addition & 1 deletion parsers/headers.parsers
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
abstractHeaderParser
extends paragraphParser
extends scrollParagraphParser
example
# Hello world
javascript
Expand Down
2 changes: 1 addition & 1 deletion parsers/images.parsers
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ captionAftertextParser
popularity 0.003207
description An image caption.
cue caption
extends paragraphParser
extends scrollParagraphParser
boolean isPopular true

abstractCaptionedParser
Expand Down
2 changes: 1 addition & 1 deletion parsers/media.parsers
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ scrollAutoplayParser
cue autoplay
atoms cueAtom
abstractMediaParser
extends paragraphParser
extends scrollParagraphParser
inScope scrollMediaLoopParser scrollAutoplayParser
int atomIndex 1
javascript
Expand Down
6 changes: 3 additions & 3 deletions parsers/paragraphs.parsers
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
paragraphParser
scrollParagraphParser
// todo Perhaps rewrite this from scratch and move out of aftertext.
extends abstractAftertextParser
catchAllAtomType stringAtom
Expand All @@ -24,14 +24,14 @@ paragraphParser
quickParagraphParser
popularity 0.001881
cue *
extends paragraphParser
extends scrollParagraphParser
description A paragraph.
boolean isArticleContent true
example
* I had a _new_ idea.

abstractIndentableParagraphParser
extends paragraphParser
extends scrollParagraphParser
inScope abstractAftertextDirectiveParser abstractAftertextAttributeParser abstractIndentableParagraphParser
javascript
compileSubparticles() {
Expand Down
2 changes: 1 addition & 1 deletion parsers/stopwatch.parsers
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
scrollStopwatchParser
description A stopwatch.
extends paragraphParser
extends scrollParagraphParser
cue stopwatch
example
stopwatch
Expand Down
3 changes: 3 additions & 0 deletions releaseNotes.scroll
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ ciBadges.scroll
br
thinColumns

📦 159.0.0 11/30/2024
⚠️ BREAKING: (almost no one should be affected). `paragraphParser` is now `scrollParagraphParser` to avoid namespace collisions.

📦 158.0.4 11/29/2024
🏥 fix right button regression

Expand Down
2 changes: 1 addition & 1 deletion tests/aParser.scroll
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
hiddenMessageParser
extends paragraphParser
extends scrollParagraphParser
inScope messageParser
cueFromId
javascript
Expand Down
4 changes: 2 additions & 2 deletions tests/scroll.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ testParticles.compileAftertext = async areEqual => {
})
}

testParticles.paragraphParser = async areEqual => {
testParticles.scrollParagraphParser = async areEqual => {
// Arrange
const program = new DefaultScrollParser(`* foo`)

Expand Down Expand Up @@ -111,7 +111,7 @@ testParticles.inMemoryFileSystem = async areEqual => {
"/settings.scroll": "* This should be imported",
"/pages/about.scroll": `../header.scroll\ntitle About us
pParser
extends paragraphParser
extends scrollParagraphParser
cue p
p A custom parser
buildHtml`
Expand Down
4 changes: 2 additions & 2 deletions tutorial.scroll
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Here is a simple example that extends Scroll by making `p` work the same as `*`:

belowAsCode 2
pParser
extends paragraphParser
extends scrollParagraphParser
cue p
p We can then make paragraphs using `p`.

Expand All @@ -211,7 +211,7 @@ messageParser
cueFromId
catchAllAtomType stringAtom
hiddenMessageParser
extends paragraphParser
extends scrollParagraphParser
inScope messageParser
cueFromId
javascript
Expand Down

0 comments on commit 0ca9fd5

Please sign in to comment.