Snap! Console Blocks (Part 3)

Try using () for reporters and [] for text, and recursively parse the reporters. Helper post here.

This is now a collaboration.

@joecooldoo I thought you didn’t want a collaboration.

It never was a collaboration. warped_wart_wars is recommending me stuff and I'm coding them. I only asked them to to infinite nesting. That isn't enough for a collaboration.

It technically is a collaboration, since you're working together..

Yeah, but I only asked for one thing. And I'm experimenting on my own for now.

I made the original block. I would implement this, except it's hard to tell when a syllable appears in the long word, or when the letters should wrap at all rather than words.

@warped_wart_wars I have it sort of working:


Snap! Gen script pic (1)
It works for two layers, though. it is implemented into the run block.
I also added a feature to grab the scripts from other projects.
{{project_name}}

?

weuygbcer hoiwergvoiw hvgiu whrvwoeirh iwevh owghvoiru hvhogiwevgi rweo gvervh
wrapped here ---------------------------------------------------------|
should be
weuygbcer hoiwergvoiw hvgiu whrvwoeirh iwevh owghvoiru hvhogiwevgi
rweo gvervh
but
uybrgfwiuyreiubfeviugyervubiyrgvbuifwgevibgwervyufgveurfviuybiregvwibuyvgfbiub
wrapped at the same spot -----------------------------------------------|
should be
uybrgfwiuyreiubfeviugyervubiyrgvbuifwgevibgwervyufgveurfviuybiregvwibu
yvgfbiub

Ok. Is it in the project yet?

Yes.

Hmm... I'll check and see if there are any repeated things I can do recursively.

go to x: ((x position) + [10]) y: ((x position) + [24]) errors.

It only detects [ and ]

() should be used for reporters.

Also, if I replace all parens with brackets it still errors.

Yeah, but if they're actual words, I don't want something like

An example of a very long word is pneumonoultramicros
copicsilicovolcanoconiosis.

happening.

There it would wrap after the is and before the pneumonoultramicroscopicsilicovolcanoconiosis.

Oh look! This forum wraps it there as well!

What I mean is if there are no spaces in a line. Only then should it wrap by letters.

Alright, here's a better example:

Long word: Pneum
onoultramicrosco
picsilicovolcano
coniosis

It's too long for one line.

If you've only got a 16-char line width the only option if you don't have horizontal scrolling would probably be to wrap like this:

Long word:
Pneumonoultramic
roscopicsilicovo
lcanoconiosis

Alright, but it still doesn't wrap at the syllables which makes it weird to read.

You'd need a dictionary for that.

I just made a feature request here:

that would help this.