A Snap! Mod Idea (Part 1)

Oh. See if quotes help.

Edit: please make your images smaller.

Oh. It works. Thanks!

So, you're saying this happens when you enter dev mode and change the code?

I've actually never used dev mode to change the code -- how does that work?

But anyway, the thing to do is edit the source in a text editor. If necessary, copy and paste code from the running version.

The bug I made a topic about? No, It's just in general; when I open snap.html in my offline copy, it has that bug.

(Consider all further instances of "right-click" having an implicit " or ctrl-click")
I used the right-click menus. I wasn't really changing the code, just moving Morphs around, resizing them, and, for the textbox, using the WorldMorph right-click menu to make two demo Morphs, a ScrollFrameMorph (with a FrameMorph child) and a TextMorph.

What good will this Mod do?

If you didn't have "good" in your post, I would reply with this:

but, as you did have "good" in your post, I'm replying with this:

You would mean rewriting all of Snap!(Except for morphic.js as Jens made a version for python) in python.

59 / 59

Woah, reply count blasting of like a rocket.

Yes.

Well, are we porting it to python or not?

63 / 63

I have to make it in JS first.

Edit: Which might be easier than porting it to Python. I think I can just fork jmoenig/Snap.

65/65

@bh Can you ask Jens what license morphic.py is under?

morphic.js
/*

    morphic.js

    a lively Web-GUI
    inspired by Squeak

    written by Jens Mönig
    jens@moenig.org

    Copyright (C) 2010-2020 by Jens Mönig

    This documentation last changed: June 9, 2020

    This file is part of Snap!.

    Snap! is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of
    the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
.
.
.
*/
morphic.py
#
#    morphic.py
#
#    a tree-based GUI for Python
#    inspired by Squeak
#
#    written by Jens Mönig
#    jens@moenig.org
#
#    version 2009-Nov-06
#
#    Copyright (C) 2009 by Jens Mönig
#
#    Permission is hereby granted, free of charge, to any person
#    obtaining a copy of this software and associated documentation
#    files (the "Software"), to deal in the Software without
#    restriction, including without limitation the rights to use, copy,
#    modify, merge, publish, distribute, sublicense, and/or sell copies
#    of the Software, and to permit persons to whom the Software is
#    furnished to do so, subject to the following conditions:
#
#    The above copyright notice and this permission notice shall be
#    included in all copies or substantial portions of the Software.
#
#    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
#    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
#    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
#    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
#    HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
#    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
#    DEALINGS IN THE SOFTWARE.

Edit 2: https://github.com/jmoenig/morphic.py has no LICENSE file. But, the text I copied above technically gives the license, just not the name of it.

#    Permission is hereby granted, free of charge, to any person
#    obtaining a copy of this software and associated documentation
#    files (the "Software"), to deal in the Software without
#    restriction, including without limitation the rights to use, copy,
#    modify, merge, publish, distribute, sublicense, and/or sell copies
#    of the Software, and to permit persons to whom the Software is
#    furnished to do so, subject to the following conditions:
#
#    The above copyright notice and this permission notice shall be
#    included in all copies or substantial portions of the Software.

is the license.

Oh I didn't expect a reply that looked like this but whatever

Ok.

Edit: (I thought you were sir_kitten2, but no.
slate_technologies
is your pfp,
sir_kitten2
is sir_kitten2's pfp)

Snap! is technically Python but with blocks.

The "say" block is like the "print" command.
The "pen" blocks are like the "turtle" library.

The list goes on and on. My point is, that Snap! is so similar to Python, it's kind of useless to make a Snap! Python type mod.

import re
re.match(r"\d*", "928342n3y923y59837nyvt8").group(1) ==  "928342"

3 print("Hi.") =

Hi.
Hi.
Hi.

and many, many more.

Plus, I want to make pyblocks a Snap!-like interface to Python.