Discuss Scratch

mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

MMWS - MMWS Makes Websites Styled
MMWS | How To Use | Documentation | First Post

MMWS is a program (written by me!) that takes a .mmws file and converts it to a .css file. It's an improved version of CSS, especially in consiseness. For example, compare this:
:button + .button + #error-button
background-color white; focus red; hover
to this:
button.button#error-button {
    background-color: white;
}
button.button#error-button:focus, button.button#error-button:hover {
    background-color: red;
}
It's meant to be used as a file, which is converted to CSS and then used like that on a web page.

Some features it has that I particularly like are:
  • “>>” replacing “ ”. I always thought “a b” was aquivelant to “a > b” in CSS - with them being replaced with “a >> b” and “a > b” respectively, it's harder to confuse.
  • Shorter syntax for :not - instead of “a:not(b)”, you write “a!(b)”

Github (thanks, Chiroyce!)

Note: This is still a very early version. New features will be added very frequently. It's also somewhat meant to be a way for me to learn more features of CSS - so please suggest things and talk about MMWS here!

Last edited by mybearworld (July 3, 2022 18:49:07)


Signatures are the only place where assets links still work.
mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

How To Use MMWS?
MMWS | How To Use | Documentation | First Post

To use, simply add this to your HTML: edit js (for me)edit json (for me)
<script src="https://chiroyce1.github.io/MMWS/src/main.js"></script>
Then, you can create mmws tags like so:
<mmws src="style.mmws"></mmws>
You can also embed MMWS in the HTML, like so:
<mmws>
    :example + :mmws
         color cyan
</mmws>
<!-- or inline: -->
<span mmws="color blue | background cyan; hover pink">Text!</span>
Note: Inline MMWS results in an ID in the form of “–mmws-inline-123” on the element if the element doesn't have an ID already.

If you want to use embedded MMWS without it showing if a visitor does not have JavaScript on, use <style type=“text/x.mmws”> instead of <mmws>. If the syntax highlighting gets messed up, put /* after and */ before the respective tags, and not have anything before.

To install the VSCode extension, run this Python script:
import os, base64
from zipfile import ZipFile

EXT_B64 = """
UEsDBBQAAAAAAFBQ3FQAAAAAAAAAAAAAAAAJAAAA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CSjIUCOkN+YFhjnwXsDuQJkCRQLZw0vaWkt0Gc1FDIDrGMTnktYB4QD3GBO84waBywA1NpqhxxuUm7KTDKDfBRri0EtiPfYAb+BL/zPRWjtZIXDpCJMoE/BD8rgOKZ7syOAurJaRRcOVBVpCGGoWxoIRo4SqA1MDvH7dzYEgwFghsqplzC/Ijk51Wzrvjh2VeTrp/+UPz5/Q9vnp+fpPX47k38Kv/9D+FfHt+F72hcFYe/Ff/x/tOfPm977+7MeTPyfulla3lA7Gpfd7fM/4F17zsl9p0S+06JfafEvlNi3ymx75TYd0rsOyX2nRL7Tol9p8S+U2LfKbHvlNh3Suw7JfadEvtOiX2nxL5TYt8pse+U2HdK7Dsl9p0S+06JfafEvlNi3ymx75TYd0rsOyX2nRL7Tol9p8S+U2LfKbHvlNh3Suw7JfadEvtOiX2nxL5TYt8pse+U+CfslPj/8R84/IrtGOl/OXmVHRkl0K2nCf785t2333z6t8+PX1oKlE/n/fZLx7/837Kw4D6//1+IPp/lj/+kWfIul3uz/JJKfiO/P/8dUEsBAhQAFAAAAAAAUFDcVAAAAAAAAAAAAAAAAAkAAAAAAAAAAAAQAP9BAAAAAHN5bnRheGVzL1BLAQIUABQAAAAIAFBQ3FTxOkFdNgEAAOsCAAAMAAAAAAAAAAAAAAC2gScAAABwYWNrYWdlLmpzb25QSwECFAAUAAAACAD8WupUZIi12PcSAAC3ZgAAHAAAAAAAAAAAAAAAtoGHAQAAc3ludGF4ZXMvbW13cy50bUdyYW1tYXIuanNvblBLBQYAAAAAAwADALsAAAC4FAAAAAA=
""".strip().encode()
ZIP_PATH = os.path.expanduser("\x7e/.vscode/extensions/mmws.zip")
EXT_PATH = os.path.expanduser("\x7e/.vscode/extensions/mmws/")

print("Decoding the content...")
ext_decoded = base64.b64decode(EXT_B64)

print("Writing the content...")
with open(ZIP_PATH, "bw") as file:
file.write(base64.b64decode(EXT_B64))

print("Decompressing the content...")
with ZipFile(ZIP_PATH, "w") as zip:
zip.extractall(path=EXT_PATH)

os.remove(ZIP_PATH)

print("Done!")

Last edited by mybearworld (Aug. 1, 2022 16:58:06)


Signatures are the only place where assets links still work.
mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

MMWS Documentation
MMWS | How To Use | Documentation | First Post

Tip: Use VSCode and the syntax highlighting to look at this documentation. It's also viewable like this, though.
// A rule in CSS looks like this:
// .name {
// property: value;
// }
// In MMWS, they look like this:

.name
property value


/// THE NAME
// Basic names consist of either . for classes, # for IDs or : for tags.
:tag-name
display block
#id-name
display block
.class-name
display block

// To combine them, you can use +. For example, an <a> element with a link class
// is:
:a + .link
display inline-block

// To get children, you can use >. For example, an <p> element which has a
// parent of <article>, you write:
:article > :p
font-family sans-serif

// For a child anywhere in the structure, >> is used. For example, a <table>'s
// <td>s are:
:table >> :td
border 2px dotted blue

// You sometimes want something to not be the case. You can use !() for that. To
// get all children of <body> that aren't <a>s, you can use this:
:body >> !(:a)
color black

// Often, you want to know if an attribute exists. With ==, you can test for
// that. To find out if an <a> has a link, use this:
:a ==href
color darkturquoise

// You may also want to see if that attribute is something specific. To see if a
// link links to the MMWS github, use:
.a =href "https://github.com/chiroyce1/mmws"
background yellow


/// THE DECLERATION
// Declerations are pretty simple. They have a property and a value. Property
// and value are seperated with spaces.
.el
display inherit

// If they have to override everything, put a ! before the property like this:
.light-bg
!background-color aliceblue

// To use selectors, put a semicolon, then the selector, then the value. If you
// want the cursor to become a pointer on a button, you can use:
:button
cursor default; hover pointer

// You can also leave the initial value empty if you only care for the selector,
// so the above code should actually be:
:button
cursor; hover pointer

// There can also be multiple of these selectors:
:button
cursor; hover pointer; focus progress

// A value can also be left empty if there is a value before it. If there is, it
// will take that value:
:button
cursor; hover pointer; focus progress; focus-visible


/// THE VARIABLE
// Variables can declared within a rule or outside. Outside they look like this:
$background-color white

// And inside the same:
:html + .dark
$background-color black


/// THE COMMENT
// Comments can be done using //. They end with a new line. This has been used
// across this documentation.

Last edited by mybearworld (July 28, 2022 09:08:37)


Signatures are the only place where assets links still work.
mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

(no content here yet)

Last edited by mybearworld (June 25, 2022 21:22:46)


Signatures are the only place where assets links still work.
mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

(no content here yet)

Last edited by mybearworld (June 25, 2022 21:22:53)


Signatures are the only place where assets links still work.
mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

(no content here yet)

Last edited by mybearworld (June 25, 2022 21:23:00)


Signatures are the only place where assets links still work.
PoIygon
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

Reserved










mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

I should probably write a bit of how to use this shouldn't I…
Done!

Last edited by mybearworld (June 25, 2022 21:54:57)


Signatures are the only place where assets links still work.
NFlex23
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

This looks really neat!

Help improve the Advanced Topics (Really!)
Before you create a topic:
Always search for duplicates or other similar topics before making an umbrella topic, e.g., “The Mac Topic”.
  • Is it about something you are planning on making but haven't made yet? If so, please wait to post until you have created a working prototype. This is a key factor to keeping the ATs as clean as possible.
  • The ATs aren't technical support. It is perfectly valid to ask questions about things related to programming, but not issues with external websites, apps, or devices. Most sites have their own support system; try asking there!
  • Is it related to something you are making in Scratch? (This includes OSes and other Scratch projects) If so, please post in Collaboration, Show and Tell, or another similar forum.
  • Is your topic questionably “advanced”? Try browsing the other forums to see if your topic fits better in one of those.
  • Issues with Scratch itself should be put in Bugs and Glitches.
Before you post: Is what you're posting likely to start an argument or derail the thread (e.g., browsers, operating systems)? If so, please re-think your post!





mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

NFlex23 wrote:

(#9)
This looks really neat!
Thank you!

Signatures are the only place where assets links still work.
MagicCrayon9342
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

vscode extension?
syntax highlighting for vscode?

mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

MagicCrayon9342 wrote:

(#11)
vscode extension?
syntax highlighting for vscode?
I… want to do that. But a) this is still very much wip and b) they're quite infuriating to make

I just realized I completely forgot variables in my documentation…

Last edited by mybearworld (June 25, 2022 22:01:58)


Signatures are the only place where assets links still work.
kccuber
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

What license? Is it just unlicensed?


Made using Nord Theme & Inkscape
god286
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

kccuber wrote:

What license? Is it just unlicensed?
https://scratch.mit.edu/terms_of_use/ 4.3 might apply

This is interesting! I probably won't use this in any of my sites (Used to tailwind/normal css) but it looks simpler. Syntax highlighting would be awesome if implemented though

Last edited by god286 (June 26, 2022 06:33:10)


Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.
mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

god286 wrote:

(#14)

kccuber wrote:

What license? Is it just unlicensed?
https://scratch.mit.edu/terms_of_use/ 4.3 might apply
I'm pretty sure 4.3 applies, as it says “all user-generated content”

god286 wrote:

Syntax highlighting would be awesome if implemented though
I'll try - no guarantees though

Signatures are the only place where assets links still work.
mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)


Signatures are the only place where assets links still work.
mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)


Last edited by mybearworld (June 26, 2022 10:22:43)


Signatures are the only place where assets links still work.
mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)



Signatures are the only place where assets links still work.
MonkeyBean2
Scratcher
100+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

Hey, this is related: https://scratch.mit.edu/projects/607394721/ It's a function that encodes any string with any base with any charset into a string of any base, with any charset, except, since it has to go through a middle stage of a single number in a scratch variable, with big strings it will fail, due to javascript's safe integer limit I've been trying to fix it, for months….


9NAwRfSR-%dWFS$a$g&zBMTj2?;jvS?L5%^X%qpCX|A<*paJ=lU07c)wmt$v{TxL5



scratchGui.timeTravel.year = '2020'
mybearworld
Scratcher
1000+ posts

[NOW IN JAVASCRIPT!] ~~ MMWS - MMWS Makes Websites Styled (Improved CSS!)

MonkeyBean2 wrote:

(#19)
Hey, this is related: https://scratch.mit.edu/projects/607394721/ It's a function that encodes any string with any base with any charset into a string of any base, with any charset, except, since it has to go through a middle stage of a single number in a scratch variable, with big strings it will fail, due to javascript's safe integer limit I've been trying to fix it, for months….
Uh… how is this related to MMWS?

Signatures are the only place where assets links still work.

Powered by DjangoBB