If we have anything to do with it, and we know how to answer it. Of course.
Offline
9715.
Offline
Forget about the views until we get 10k views, and even then forget about them and get to work on Emerald, we need to remake Emerald completely.
Offline
Magnie wrote:
Forget about the views until we get 10k views, and even then forget about them and get to work on Emerald, we need to remake Emerald completely.
In def()'s , right?
Offline
We need to remake it from nothing, I really like how Whiz's Opal program allows you to write everything on one line and we need to make our own Save and Load, not use pickle, that way we can type in plain text without needing to do it in Emerald. I already have an idea on how to do it.
Offline
Magnie wrote:
We need to remake it from nothing, I really like how Whiz's Opal program allows you to write everything on one line and we need to make our own Save and Load, not use pickle, that way we can type in plain text without needing to do it in Emerald. I already have an idea on how to do it.
Opal is really nice.
If you could post the code for non-Pickle save and load on the other forums, then...uh...do that...
Offline
Opal is available for download.
EDIT: oh yeah, 9842ish views
Last edited by gershmer (2009-12-02 19:45:26)
Offline
Well, it's going to be hard... This is what you will have to type in plain text:
print Hiya no ask How are you? mood yes print mood yes
which displays:
Hiya How are you? Good Good
but I'm still not sure how to explain it. We need a new way to do this...
Offline
i think we should be a little more advanced with the way we program it, and have it a bit more like Scratch as well, insted of print, have say.
and the like. You know Illusionists code, a bit like that. Because i think that code that magnie posted.
magnie wrote:
Code:
print Hiya no ask How are you? mood yes print mood yes
Is more confusing that this code (Which i wrote in Small Basic)
If (Clock.Hour < 12) then TextWindow.WriteLine("Morning world") EndIf If (Clock.Hour >= 12) Then TextWindow.WriteLine("Evening world") EndIf
Offline
delete not-needed booleans
Why do these yes-es? I mean, booleans are needed, but why so many? We don't need to make things like ask(string question, string variable name,bool create variable) - ask(string question, string variable name) will do. I'd also suggest to take variable assignment out of function call: answer = ask(string question)
Also, if Emerald is a link between Scratch and a programming language, which one though? C#, Visual Basic or Python?
Offline
Marky: That's the reason I need a better idea, so it's easier to program in:
print # Command Hiya # Text no # Variable No. ask # Command How are you? # Text mood # Variable yes # Variable yes print # Command mood # Text yes # Variable Yes.
I want it to be:
print 'so and so' ask 'How are you? ' mood print mood
or
print 'so and so' mood(ask 'How are you? ') print mood
Something like that.
Offline
Magnie:
why not
Start Say: "So and So" Ask: "How are you?" save answer to = mood.var Say: "mood.var" End
What'd ya think? It resembles a programing langauge a bit more now.
Offline
That works, but I don't like 'required' tabs:
Start Say: "So and So" () Ask: "How are you?" ( save answer to = mood.var ) Say: "mood.var" ( ) End
The parentheses would be used instead of tabs, but tabs would still be usable. But more 'Scratch' like:
Start Say: "So and So" Ask: "How are you?" mood.var = ask Say: "mood.var" End
Offline
Yeah, that looks better. Why not just forget the speach marks ("")
And just have:
Start Say: So and So Ask: How are you?" mood.var = ask Say: mood.var End
But why is the mood.var saving part inverted?
It should be more litteral, like scratch is.
ask.answer = mood.var
Any better?
Offline
Well if we leave out the Speech marks, then it won't understand if you want to print text, or print the data in a variable or list.
Offline
good point. What about putting it in brackets?
like:
Say: (So and So)
Or does that look pretty wierd?
Offline
markyparky56 wrote:
good point. What about putting it in brackets?
like:Code:
Say: (So and So)Or does that look pretty wierd?
This would be better:
say(var) say("text")
But it would be hard to make a program that could understand that syntax, probably.
This:
say var say "text"
would be the easiest syntax to work with.
Offline
yeah, that looks better, but would't it be easier to read the code if you have colons after each block/code part?
Offline
markyparky56 wrote:
yeah, that looks better, but would't it be easier to read the code if you have colons after each block/code part?
Colons are hideous.
Offline
Yeah, semi-colons and those things are the most annoying thing on the entire planet of the solar-system, of the galaxy, of the universe, of space, of time, and of life.
Offline
and the asnwer to all that is 42.
Anyway, it would help the program to recognze what to print, and the creator to see where the synta stops and imput begins
Offline