Its name is ES4me, it's for windows and works in this way:
- download the file in your es4 folder, where there is the run.exe and the es4.bat file
- double click
Basically, there is a place to write something, where for some reason TABS are usable only with CTRL + TAB instead of single TAB key, a panel where errors or output will be showed, and finally, 5 buttons:
- Run, to execute the code
- Clear, to clear the code in the area
- Add Before, to add area code before execution
- Get Before, to add in area the code added before
- Clear Before, to clear content added before
Here some example:
var i:int = 123;
print(i);
Press Run, and You'll read 123 on output panel.
Now press clear, and area will be without text.
Write again ...
var i:int = 123;
Without the print, now press Add Before, area will be clean again ... BUT, write this:
print(i);
and press Run, you'll read 123 in the output panel.
This mean that precedent code is in ram, and is present on output but not in the area.
Of course, if you Add Before print(i); , this will be executed after var i:int = 123;
This is useful to add classes or other scripts, just tested.
Now, if you press Get Before, the entire content will be added to the area, after current one, if any.
Finally, with Clear Before, everything in the Ram will be cleaned.
Simple? Last thing: every time you press Run, code is compiled in a new enviroment.
That's it, and sorry for this horrible debugger ... but time is never enough :)
Very interesting.
ReplyDeleteI suggest changing the names of the "Before" buttons, maybe to something like:
Add Code to Context
Get Code from Context
Clear Code in Context
I'm not a JS guru like yourself, so I don't know if "Context" is the right word. :) Maybe "closure?"
:lol:
ReplyDelete**ERROR** ParseError: expecting 'identifier' before '(' (near fagiano:1:1-1.8)
fagiano????
pheasant??
i founded an easter egg :D
Akejandro, it's not the real problem with my horrible editor. And if someone will use them, instead of a quick and dirty shell without big code possibility, theyr will need to read this post that explain what do those buttons mean :)
ReplyDeletekentaromiura ... bloody hell, no more than two days and someone found my easter egg :D You know what it means, you wrote bad code, so you are a oheasant :D
I wrote rubbish ... I'm probably drunk :lol:
ReplyDeletehave a nice week end guys!
it wasn't bad code, it was only javascript :p, i was testing the retrocompatibility things :D
ReplyDeletejust for the sake, adding () around an anonymous function made my code works :p
if you forget brackets you ARE a fagiano :lol:
ReplyDelete