M30W Programming Forum

M30W is a text-based version of Scratch

You are not logged in.

Announcement

This is the development forum for M30W (also known as Emerald, do not confuse with Emerald Programming Language).
Our Non-development forums are available here

M30W(Emerald) 0.3 is out! (Download) Requires Python 2.6 or higher.
Opal 0.3(A better command line M30W) is out! (Download) Requires Python 2.6 or higher.
M30W 0.3.6 GUI barebones (Download) Requires Python 2.6 or higher and wxPython
Diamond-2 RED2 GUI Barebones (Fancy M30W editor) s out! (Download) Requires .NET Framework 3.5 or higher, does not require Python
M30W++ GUI barebones (Java M30W) Alpha 1 is out! (Download) Requires Java.


Gershmer.net, our hosting, will close in February 2011. We have not fully decided what to do with our hosting after that, but we will tell you when we decide.

Adverts

Adverts

#26 2009-12-27 20:42:14

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: General Emerald Discussion

Or we could really weird, like GNU is.

M30W's
Extremeness
Not
Uncoolness Programming


http://card.ly/images/vcard-green-small.png

Offline

 

2009-12-27 20:42:14

AdBot
Advertisements

#27 2009-12-27 21:35:35

floppy_gunk
I Am Your Father.
From: Earth, The Milky Way (I think)
Registered: 2009-10-08
Posts: 186
Website

Re: General Emerald Discussion

But that spells Menu, not Meow.

If we called it, say, PINS, we could have said:

PINS
Is
Not
Scratch


Big Bob bites black bugs, but black bugs bite Big Bob back.

Offline

 

#28 2009-12-27 23:41:31

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: General Emerald Discussion

floppy_gunk wrote:

But that spells Menu, not Meow.

If we called it, say, PINS, we could have said:

PINS
Is
Not
Scratch

I'm sick, and forgot the alphabet :( sorry.

M30W's
Extremeness
of
Wonderfulness

(Still sick :()


http://card.ly/images/vcard-green-small.png

Offline

 

#29 2009-12-28 12:32:48

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

floppy_gunk wrote:

M30W
(Emerald it
Once
Was)

Not only is it a recursive acronym, which is awesome, but it also makes sense!

Yoda here he was.


I am A M30Wr.
I always get the last word.

Offline

 

#30 2009-12-28 13:12:19

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: General Emerald Discussion

Gershmer wrote:

floppy_gunk wrote:

But that spells Menu, not Meow.

If we called it, say, PINS, we could have said:

PINS
Is
Not
Scratch

I'm sick, and forgot the alphabet :( sorry.

M30W's
Extremeness
of
Wonderfulness

(Still sick :()

were u sick for christmas, cause that would suck majorly.

It happened to me two years ago.
Now for acronyms:

Mini
explosions
On
Worcestershire
no, thats not right:
Mini
Editor
Of
Wawsomeness


http://www.catb.org/esr/faqs/glider.png

Offline

 

#31 2009-12-28 14:53:35

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

I had flu christmas a couple of years ago aswell.

Master
Exterminator
Of
Wolves

(i know its sad)


I am A M30Wr.
I always get the last word.

Offline

 

#32 2009-12-28 16:03:25

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: General Emerald Discussion

I woke up on Christmas day feeling like crap.

Luckily I'm Jewish. :D jew power


http://card.ly/images/vcard-green-small.png

Offline

 

#33 2009-12-28 17:08:50

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

God bless you. Im christian. But i thought jews didn't celebrate Christmas, since jews dont belive Jesus is the meshiah, unless you are a Mesianic Jew,

(Spelling?)


I am A M30Wr.
I always get the last word.

Offline

 

#34 2009-12-28 17:34:08

Gershmer
Admin
From: Newton Centre, Massachusetts
Registered: 2009-10-08
Posts: 515
Website

Re: General Emerald Discussion

markyparky56 wrote:

God bless you. Im christian. But i thought jews didn't celebrate Christmas, since jews dont belive Jesus is the meshiah, unless you are a Mesianic Jew,

(Spelling?)

Exactly. I don't celebrate Christmas.


I'm pretty sure there's no such thing as Mesianic (spelling) Jew in this time period, as we don't believe Jesus is OUR Messiah. We're still waiting...


http://card.ly/images/vcard-green-small.png

Offline

 

#35 2009-12-28 19:04:35

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

A Messianic Jew is someone who has accepted Jesus as they're messiah.

http://en.wikipedia.org/wiki/Messianic_Judaism


I am A M30Wr.
I always get the last word.

Offline

 

#36 2009-12-29 00:45:39

floppy_gunk
I Am Your Father.
From: Earth, The Milky Way (I think)
Registered: 2009-10-08
Posts: 186
Website

Re: General Emerald Discussion

MEOW was
Emerald
Once
(Why?)

        coMputer
languagE
similar tO scratch
     but With text


Big Bob bites black bugs, but black bugs bite Big Bob back.

Offline

 

#37 2009-12-29 00:52:54

floppy_gunk
I Am Your Father.
From: Earth, The Milky Way (I think)
Registered: 2009-10-08
Posts: 186
Website

Re: General Emerald Discussion

M30W Haiku!

M30W's a language
That is similar to Scratch,
But with text, not blocks.


Big Bob bites black bugs, but black bugs bite Big Bob back.

Offline

 

#38 2009-12-29 10:36:20

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

floppy_gunk wrote:

coMputer
languagE
similar tO scratch
     but With text

That one is awesome


I am A M30Wr.
I always get the last word.

Offline

 

#39 2009-12-30 20:37:09

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

markyparky56 wrote:

floppy_gunk wrote:

coMputer
languagE
similar tO scratch
     but With text

That one is awesome

true.


Heh heh heh (Semi-evil laugh)

Offline

 

#40 2009-12-31 00:49:02

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: General Emerald Discussion

yes lol.

very true.

So hidas, you're working on the graphics module?


http://www.catb.org/esr/faqs/glider.png

Offline

 

#41 2009-12-31 02:33:06

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

cds56 wrote:

yes lol.

very true.

So hidas, you're working on the graphics module?

yes. i have been working on it since i joined the team. hopefully this version won't be crashed, lost, or deleted. :D


Heh heh heh (Semi-evil laugh)

Offline

 

#42 2009-12-31 09:27:26

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

have a backup on a memory stick or something.;)


I am A M30Wr.
I always get the last word.

Offline

 

#43 2009-12-31 17:05:51

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: General Emerald Discussion

hidas wrote:

cds56 wrote:

yes lol.

very true.

So hidas, you're working on the graphics module?

yes. i have been working on it since i joined the team. hopefully this version won't be crashed, lost, or deleted. :D

So it HAS crashed and been deleted before?

or are you just worried.

(thats why i heve 2 8gb memory styks.)


http://www.catb.org/esr/faqs/glider.png

Offline

 

#44 2009-12-31 17:28:21

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

yes. it's been on two different hard drives, been deleted, and it's mysteriously disappeared. :P

on a lighter note, how is the work going on your c++ version?


Heh heh heh (Semi-evil laugh)

Offline

 

#45 2009-12-31 18:53:24

cds56
THE TOOOTH! THE TOOOOOOOOOOOOTH!!!!!
From: Canamadiana
Registered: 2009-11-07
Posts: 423

Re: General Emerald Discussion

fairly well,

I'm thinking about using GLUT to draw the window, and the text area, and the program to be executed in the other half of the window, an openGL frame, rendering the text, and sprites.
It should be relatively easy once I finish learning GLUT.


http://www.catb.org/esr/faqs/glider.png

Offline

 

#46 2010-01-01 12:49:42

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

cds56 wrote:

fairly well,

I'm thinking about using GLUT to draw the window, and the text area, and the program to be executed in the other half of the window, an openGL frame, rendering the text, and sprites.
It should be relatively easy once I finish learning GLUT.

Make a note to include the opengl .dll's and the other stuff for non-opengl users.


I am A M30Wr.
I always get the last word.

Offline

 

#47 2010-01-01 22:34:37

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

i've almost learned enough of pygame to make that graphics module! it should be out within the next couple of weeks. yay! :D


Heh heh heh (Semi-evil laugh)

Offline

 

#48 2010-01-05 17:12:46

markyparky56
Hi...
From: Scotland
Registered: 2009-10-08
Posts: 910
Website

Re: General Emerald Discussion

so the 14/1/10 deadline?


I am A M30Wr.
I always get the last word.

Offline

 

#49 2010-01-15 19:59:40

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

markyparky56 wrote:

so the 14/1/10 deadline?

? what do you mean?


Heh heh heh (Semi-evil laugh)

Offline

 

#50 2010-01-15 20:00:43

hidas
M30W Team
From: The 3rd dimension
Registered: 2009-11-11
Posts: 142
Website

Re: General Emerald Discussion

okay here is a new m3ow thing. The way this program makes lists and variables is by using 2 dictionary types. easy as pie!

Code:

import random, sys

#first off, all the dictionaries.

dictvar = {} # The variables and their values
dictlist = {} # The lists and their values

coms = [] # list of commands to go through when the program runs

#second, all the variables
getcommand = True
printthing = None
#third, all the functions

def printer(value):
    global coms
    coms.extend([0, value])
    print coms
    loop()
def run():
    global coms, printthing
    for i in coms:
        if i == 0:
            printthing = coms[i + 1]
            str(printthing)
            print printthing
def makevariable(name, value):
    # The user can make variables with this function. It recieves two parameters,
# the name and the value. It then adds the name as a key in the dictionary, with the value as the
# well, value!
    global dictvar
    dictvar[name] = value
    loop()
# END OF FUNCTION makevariable ---------------------------
def changevariable(name, value):
    global dictvar
    dictvar[name] = value
    loop()
def makelist(name):
    # The user can make lists with this function. It works the same way as the make variables function.
    global dictlist
    dictlist[name] = [] # see how this works? all the lists have a name in a dictionary, with the
    # list as the value
    loop()
# END OF FUNCTION makelist ------------------------------------
def addtolist(name, value):
    # The user can add to his lists with this function. It's the same as the makelist function, but with an actual value.
    global dictlist
    dictlist[str(name)].append(str(value))
    print dictlist
    loop()
# END OF FUNCTION addtolist -------------------------------

def loop():
    global getcommand
    while getcommand == True:
        command = raw_input('Please enter a command (info for help) : ')
        if command == 'info':
            print '''Hello and welcome to M3OW! Here is a list of commands:
                     Type 'info' for this!
                     Type 'make variable' to make a variable.
                     Type 'make list' to make a list of items.
                     Type 'add list' to add an item to a list you've made.
                     Type 'change variable' to change a variable you have made.
                     Type 'change list' to change a list you have made.
                     Type 'say' to have your program say something.
                     Type 'ask' to have your program ask the user something.
                     Type 'run' to execute the program you made.
                     Type 'quit' to stop!'''
        elif command == 'make variable':
            v1 = raw_input('What is the name of your variable? ')
            v2 = raw_input('And what is its value? ')
            makevariable(v1, v2)
            print v1
            print v2
        elif command == 'make list':
            v3 = raw_input('What is the name of your list? ')
            makelist(v3)
        elif command == 'print':
            v6 = raw_input('What do you want your program to print?')
            printer(v6)
            print v6
        elif command == 'add list':
            v4 = raw_input('What list would you like to add to? (Just type in the name) ')
            v5 = raw_input('What would you like to add to your list? ')
            addtolist(v4, v5)
        elif command == 'run':
            run()
        elif command == 'quit':
            print 'Bye!'
            getcommand = None
loop()

Heh heh heh (Semi-evil laugh)

Offline

 

Adverts

Board footer

Powered by FluxBB
Hosted by PunBB-Hosting