This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#401 2009-10-26 07:23:59

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

I'm downloading a DLL called ScintillaNet (You know Notepad++? SciTE? Well, they're based on Scintilla, and this is Scintilla for .NET programs), which will help a lot with syntax highlighting.


Converting my Scratch projects to Python!

Offline

 

#402 2009-10-26 10:30:01

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Lots can happen when I'm gone for day... But I did read all the posts after my last post.

I know about NotePad++ ( It's really nice, I use it to make webpages.  big_smile  )

Offline

 

#403 2009-10-26 11:25:48

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

im completely lost...


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#404 2009-10-26 11:37:06

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

What are you lost on?

Offline

 

#405 2009-10-26 13:40:28

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

practicaly everything, what happened when i was on holiday?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#406 2009-10-26 14:11:23

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Emerald

As my suggestion went, you should parse the input(don't know how to do that)!

I guess it would go:

var( 'mutate' , 'var' , '+1')
^           ^        ^      ^
>the function itself
             >a function within
                      >what you are changing or doing
                               >how you do it


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#407 2009-10-26 15:47:49

aymenbnr
Scratcher
Registered: 2009-10-23
Posts: 18

Re: Emerald

thats nice mate

Offline

 

#408 2009-10-26 15:51:15

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

Would it be to much to ask if, when your programing, it be in a notepad type area, not command prompt, for you cant edit the scripting once you've done it in cp


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#409 2009-10-26 19:13:30

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Marky1: Sorry, but I don't think much has happened...
aymenbnr: Thanks.  smile
Mark2: I believe Floppy is working on something like that.  big_smile

Offline

 

#410 2009-10-27 05:41:01

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

Good, good. As for Diamond, I now need to implement XML help, ScintillaNet and unicode file saving to support characters like ą, ó, ł, ę and ć (and much more).


Converting my Scratch projects to Python!

Offline

 

#411 2009-10-27 07:32:05

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

I found C++ on my harddisk, dont remember instaling it, but so what? anyway, anything need done?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#412 2009-10-27 10:27:11

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Filo: Okay.  smile

Marky: I don't think there's anything needed done in C++ but we could try making something in it. ( Just fir the fun of it )

Offline

 

#413 2009-10-27 11:17:12

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

i was meaning anything needed done, anything


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#414 2009-10-27 17:16:33

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Not right now....

Offline

 

#415 2009-10-27 17:35:25

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Filo can we have a pre-alpha demo (or download) of Diamond?

Right now, you're all talk.


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#416 2009-10-27 21:49:25

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: Emerald

Yeah, I agree.


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#417 2009-10-28 07:30:19

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

I got ScintillaNet to work, and now I have to make a file that describes how to colour the syntax. I'd look like this:
print
"This is a text"
ask
"This is a text"
answer
print
answer
yes

Also, I'm working on the help browser (it's based on XML). Basically, there is a control set, and upper half is Explorer-like list and tree, to select files, and lower half is a browser to show help text.


Converting my Scratch projects to Python!

Offline

 

#418 2009-10-28 08:05:14

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

And yes... Diamond pre-alpha demo download, but the installer is in polish. Here is translation table:

Instaluj -> Install
Przeglądaj -> Browse
Anuluj -> Cancel
Folder docelowy -> Target directory

Hope that helps!


Converting my Scratch projects to Python!

Offline

 

#419 2009-10-28 11:32:40

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Do you have a Linux version....?

Offline

 

#420 2009-10-28 13:55:42

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

I love dimond! nicely done!
wont complie though.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#421 2009-10-28 16:10:27

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Magnie wrote:

Do you have a Linux version....?

Filo's diamond is the Windows Version.

Try running it in WINE (or a similar program)


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#422 2009-10-28 18:20:29

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

Filo -

1.Syntax Highlighting hasn't been added yet???
2.Font changes don't work
3.If you click on compile, then you have to force quit. (cancel button doesn't work)
4.Many unnecessary menus/panes
5.Black theme is nice
6.Any programs written in diamond will not run in Emerald.

Code:

(in Diamond)
print "test"
print "test again"

Code:

(in Emerald)
load
testEMERALD
<crash!>

I might have gotten the Diamond syntax wrong, though.

Last edited by gershmer (2009-10-28 18:52:19)


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#423 2009-10-29 07:00:10

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

Magnie, Wine won't work because it's written in .NET 3.5 -- Try Mono instead (sort of should work, but still untested).
gershmer:
1, I added Scintilla, but I need to configure it to highlight Emerald syntax properly.
2, Font changes don't work with Scintilla, so I'm gonna remove or change this feature.
3, I didn't implement just-in-time Emerald interaction yet.
4, Which are...?
5, Should it be default?
6, That's because Emerald uses Pickle to save its files, and Diamond uses plaintext (that's why I want Magnie or any other Emerald developer to go for plaintext support in 0.4; of course it'd need some sort of backward-compatibility, so it'd have to recognize which file is pickle and which is plaintext; that's why Emerald 0.4 will come later than expected).

As for Emerald syntax itself, read my previous post about syntax colouring, there is also an example of Emerald syntax in-text-editor - because it's easy to split lines into an array; that's also what me and The-Whiz done with our joint project, PenScript.

I'm still working on Diamond, especially with Scintilla and in-place help system, and when I finish Scintilla configuration, I'll go back to just-in-time Emerald interaction support.

As for menu, it's still unfinished, because I need to do following:
1) Program should recognize if file is saved or not, so it could display warnings depending on file state (saved or not)
2) Program should keep a list of recent files, to be displayed in the coming-soon Recent pane in the Orb menu
3) Program should be able to handle planned projects, together with handling temporary project unpacks, zipped projects (.emrl filed), XML project descriptors and active help (help's being searched for selected text after selecting any text in Script Edit box and pressing Shift+F1

And it should look fully ribbon-based...


Converting my Scratch projects to Python!

Offline

 

#424 2009-10-29 07:29:06

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Emerald

filo5 wrote:

1, I added Scintilla, but I need to configure it to highlight Emerald syntax properly.
2, Font changes don't work with Scintilla, so I'm gonna remove or change this feature.
3, I didn't implement just-in-time Emerald interaction yet.
4, Which are...?
5, Should it be default?
6, That's because Emerald uses Pickle to save its files, and Diamond uses plaintext (that's why I want Magnie or any other Emerald developer to go for plaintext support in 0.4; of course it'd need some sort of backward-compatibility, so it'd have to recognize which file is pickle and which is plaintext; that's why Emerald 0.4 will come later than expected).

1.OK
2.Aww... I think 48pt Curlz MT would be cool as another font to choose from.
3.Kinda figured that. Under the version list was this:
                                  0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0
4."Emerlad Programming Help"
5.IDK, your the dev here
6.OK.


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#425 2009-10-29 10:15:13

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Emerald

2) Probably can do it. ScintillaNET is pretty badly documented, so I'll have to do it by tries, failures and loads of forum posts.
4) Will be implemented soon.

If you know C# a bit, why won't you help me? If you can't compile, just do it within source code and I'll do rest.

To all: I was thinking about making a Codeplex or SourceForge projects for Emerald or Diamond (or both). Shall I...?


Converting my Scratch projects to Python!

Offline

 

Board footer