Emerald is a text version of Scratch. Currently it does barely anything.
- Print: Puts something on the screen. - Ask: Asks the user a question (input). - Add Variables: Make new variables. - Save: Save your program currently on your computer (It will save to the folder with Emerald.py) - Load: Load a program (It must be in the same folder as Emerald.py) - About: About Emerald <It is not Case Sensitive>
The coding is done in a way that it doesn't matter how you type ANYTHING, any code, anything. So you could type 'AsK' or 'aSk' and it will still do the same.
Emerald Updates
Emerald Forums
Official Emerald Website
Emerald Survey
This was made in Python 2.6 if you have problems, just ask.
Please Please all the ideas you have please give them to me.
We need Python Graphic Programmers!
Subside programming languages:
Emerald+ ( Aka Diamond ) - By Filo5
Emerald+ is a programming environment for Emerald.
( Filo: Please contact me if you want this to be changed to something more descriptive. )
Opal - by The-Whiz
Opal is an amazing programming language, which may be Emerald 0.4
( Whiz: Please contact me if you want this to be changed to something more descriptive. )
Last edited by Magnie (2009-12-05 22:48:59)
Offline
Food-Dude: A programming language I made, it is supposed to be Scratch in Text.
The-Whiz: This is in Python. Completely.
Illusionist: As far as I'm concerned, no.
I might get it uploaded tonight, if not, hopefully tomorrow morning.
Offline
Feedback: (drag the image into your tab bar)
Pros:
-The first implementation (that I know exists) of Scratch's syntax in a text based environment.
-It works.
-It's simple.
Cons:
No GUI.
Last edited by gershmer (2009-09-08 17:28:00)
Offline
I know that there isn't GUI, I don't know how to add it yet, but hopefully I'll make it so you can save your programs, won't that be fun.
Offline
Looks good, I just downloaded it and we'll check it out after school. BTW I think naming Emerald and not giving credit to scratch might be infringing on their trademark . . .
Offline
Oh, one note, I can probably help you with the python
Offline
1Demothenes: True... I'll go change it right now! It's so simple to change it.
2Demothenes: Thanks!
Offline
I would be a C# and C and C++ programmer if it weren't for the admin privs and such an amount of space it takes. But I guess you could help, this is in python if you didn't know and have you tried the program yet?
Offline
I've tried this program, but I know Python only from name and Tab-based formatting. As for C#, you can get a gcc compiler for this, and write console apps in text editor (but forms are not an option, for forms (windows) you need designer). Also, C# is object-oriented, and no operations should be done outside methods, except using (import from python? or require?) directives, variable assignments (in-class only), namespace, class and method declarations. An example C# code:
using System; namespace TestProgram { class Test { static void Main () { Console.WriteLine("Hello World"); Console.ReadKey(); } } }
Offline
Hmm, I might be able to do some C# coding...
using System; namespace Emerald ( class Test ( static void Main () ( Console.WriteLine("Emerald 0.1 - Based off of Scratch"); Console.WriteLine("By Emerald Team"); Console.ReadKey(); ) ) )
^^ If that works ^^
Then I'm a genius. lol I have never coded anything in C# I just took what I had from your example and made that! Is there anything that allows the user to type something in? Give me an example for the then I could do a 3 Year Old Simulator. I'll also need an example of a Repeat thing, (Forever Block in Scratch in coding for C#) I could make a few things out of this! I'll just make a Text version then give it to you!
You'd also need to get me a link to a Gcc Compiler, I can't find one.
Last edited by Magnie (2009-09-10 08:00:35)
Offline
The data acquisition from C# console application looks pretty much like printing text on screen, it's like this:
Console.ReadLine()
But you have to call it either from variable assignment or IF statement. BTW, do you know why there is that ReadKey thing at the end? To prevent application closure after printing the text - it waits for any key to be pressed then terminates the program. I recommend you checking out MinkoTwit - Tweet application with sources included (if the installer doesn't work, I'll give you a ZIP). I made it on my own, with almost nil knowledge of C#.
Offline
I have no idea of what you're talking about, how about you just learn Python. I don't have Admin Privs, and you just lost me. WHAT ARE YOU TALKING ABOUT?? You switched subjects completely out of nowhere I have no idea what brought you to Twitter.
Offline
Interesting. I know a bit of python, I think I could help you. I think there is a way to save. (well of course there is) Let's see if I can remember...
Offline
I know just learned how, but I can't get the coding right.
vv Save vv open("[name]","[R/W/other commands which I forgot.]")
I got it to save I just can't get it to load correctly, I did a few experiments and saved Program.py and loaded it and came out with Program.pyc ...
Offline
PYC is a python compiled file (like Java or Smalltalk bytecode). As for the Twitter application, there are sources included in well-commented programming style. If you can't install it, here's the ZIP package with sources and binaries (+ installer with source installer script(NSIS)).
As for my version of EMERALD, I'm now working on it.
Offline
Just forget the Twitter okay? If you want to help you need to work with Python. Okay?
Offline
Well, I'm learning ruby if this helps, but... Python? Nah.
Offline
Ruby takes to much space on my computer. Python, sure.
Offline
Hmm.... 2.0 or 3.0?
Offline