Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more
Index -> Programming, Turing -> Turing Submissions
Goto page Previous  1, 2, 3, 4  Next
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
mirhagk




PostPosted: Mon Jan 23, 2012 11:19 pm   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

A web editor as in a online place to run Turing code? I would friggen love it, so many times I have my iPod touch and that's it, but I wanna just quickly test out a little algorithm (which turing is perfect for)
Sponsor
Sponsor
Sponsor
sponsor
ProgrammingFun




PostPosted: Tue Jan 24, 2012 8:15 am   Post subject: Re: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

mirhagk @ Mon Jan 23, 2012 11:19 pm wrote:
A web editor as in a online place to run Turing code? I would friggen love it, so many times I have my iPod touch and that's it, but I wanna just quickly test out a little algorithm (which turing is perfect for)

Yeah, I'm gonna take it up as a personal project after exams to also improve my JavaScript and jQuery skills. I would probably have to start with compiling a GeSHi library for Turing (help appreciated! though I could beg Dan and Tony to give me the one on this site) and then make a static typing thingy before implementing the IDE in JavaScript.

We'll see how it goes. I'm hoping that I don't fail terribly. This will be an excuse to learn HTML5 and improve my JavaScript skills.
mirhagk




PostPosted: Tue Jan 24, 2012 8:57 am   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

I really hope you do well as well.
ProgrammingFun




PostPosted: Tue Jan 24, 2012 10:35 am   Post subject: Re: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

mirhagk @ Tue Jan 24, 2012 8:57 am wrote:
I really hope you do well as well.

Thanks Very Happy (I'm not as familiar as everyone else is with Turing because I only used it for half a semester before moving onto Java)
Also, @SNIPERDUDE, if I do start this project, I could use your help with the visuals Wink

And if it works, we could use PhoneGap to make dedicated mobile apps for it as well Very Happy
SNIPERDUDE




PostPosted: Tue Jan 24, 2012 2:56 pm   Post subject: Re: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

ProgrammingFun wrote:
And if it works, we could use PhoneGap to make dedicated mobile apps for it as well Very Happy

That actually sounds pretty cool. So many times I've wanted to do some code testing on my phone when I'm out or bored on the subway.
ProgrammingFun




PostPosted: Tue Jan 24, 2012 3:09 pm   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

I think that we shouldn't steer this thread off topic but one question, would you suggest that all compiling take place server-side and or client-side? Server side would slow down the server if many people use it (though I doubt anyone out of CompSci would).
Raknarg




PostPosted: Tue Jan 24, 2012 4:01 pm   Post subject: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

Just thought I'd point out, if a variable is undeclared, it doesn't seem to point out where
mirhagk




PostPosted: Wed Jan 25, 2012 12:14 am   Post subject: Re: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

SNIPERDUDE @ Tue Jan 24, 2012 2:56 pm wrote:
ProgrammingFun wrote:
And if it works, we could use PhoneGap to make dedicated mobile apps for it as well Very Happy

That actually sounds pretty cool. So many times I've wanted to do some code testing on my phone when I'm out or bored on the subway.


I think this was actually discussed before, and certain phones have in the license agreement something about not compiling user's code or something. I'm not 100% sure, but it's something you should look into before investing time on making apps for the phones.
Sponsor
Sponsor
Sponsor
sponsor
ProgrammingFun




PostPosted: Wed Jan 25, 2012 5:20 am   Post subject: Re: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

mirhagk @ Wed Jan 25, 2012 12:14 am wrote:
I think this was actually discussed before, and certain phones have in the license agreement something about not compiling user's code or something. I'm not 100% sure, but it's something you should look into before investing time on making apps for the phones.

Thanks for letting me know...though we could probably get around that if the code is compiled by the server Wink
trishume




PostPosted: Wed Jan 25, 2012 8:19 am   Post subject: Re: New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

The thing with a web IDE is that everything would have to be done server-side unless you reimpliment the entire compiler. Which is quite the task.

And barring some really intense code you could only do text in and out.

To get it to work you would have to implement a command line switch for turing that redirects input and output to stdin. Then you could call that from rails or php.



For the ribbon UI I don't think that's a good idea because there are too few actions for it to be useful and it would take up a lot of vertical space.
I would love some help making it look nicer though. Just keep in mind that it is written in Qt. So there are no windows specific gui components like ribbons.
I can theme existing components though.

Also if anyone wants to learn Qt styling you can add css to stylesheet.qss in the new editor directory and it will load it.
Insectoid




PostPosted: Wed Jan 25, 2012 9:07 am   Post subject: Re: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

mirhagk @ Wed Jan 25, 2012 12:14 am wrote:
SNIPERDUDE @ Tue Jan 24, 2012 2:56 pm wrote:
ProgrammingFun wrote:
And if it works, we could use PhoneGap to make dedicated mobile apps for it as well Very Happy

That actually sounds pretty cool. So many times I've wanted to do some code testing on my phone when I'm out or bored on the subway.


I think this was actually discussed before, and certain phones have in the license agreement something about not compiling user's code or something. I'm not 100% sure, but it's something you should look into before investing time on making apps for the phones.


Lunduke language compiles to native code for any supported platform (most compilers only compile for the platform it exists on, ie gcc for mac only compiles for mac, etc). Lunduke supports many mobile platforms. Lunduke is also written in itself, so you can compile it for your phone if it's supported and then write Lunduke code on your phone. Unfortunately the iPhone TOS likely prohibits this.
mirhagk




PostPosted: Wed Jan 25, 2012 11:18 am   Post subject: Re: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

Insectoid @ Wed Jan 25, 2012 9:07 am wrote:
mirhagk @ Wed Jan 25, 2012 12:14 am wrote:
SNIPERDUDE @ Tue Jan 24, 2012 2:56 pm wrote:
ProgrammingFun wrote:
And if it works, we could use PhoneGap to make dedicated mobile apps for it as well Very Happy

That actually sounds pretty cool. So many times I've wanted to do some code testing on my phone when I'm out or bored on the subway.


I think this was actually discussed before, and certain phones have in the license agreement something about not compiling user's code or something. I'm not 100% sure, but it's something you should look into before investing time on making apps for the phones.


Lunduke language compiles to native code for any supported platform (most compilers only compile for the platform it exists on, ie gcc for mac only compiles for mac, etc). Lunduke supports many mobile platforms. Lunduke is also written in itself, so you can compile it for your phone if it's supported and then write Lunduke code on your phone. Unfortunately the iPhone TOS likely prohibits this.


If only I could jailbreak my iPod touch Sad (it's second generation, and I can't find a jailbreak that works for it)
SNIPERDUDE




PostPosted: Wed Jan 25, 2012 1:18 pm   Post subject: Re: RE:New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

mirhagk @ January 25th 2012, 11:18 am wrote:
If only I could jailbreak my iPod touch Sad (it's second generation, and I can't find a jailbreak that works for it)

Well there's your problem: You're using an Apple product
ProgrammingFun




PostPosted: Wed Jan 25, 2012 4:38 pm   Post subject: Re: New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

trishume @ Wed Jan 25, 2012 8:19 am wrote:
The thing with a web IDE is that everything would have to be done server-side unless you reimpliment the entire compiler. Which is quite the task.

And barring some really intense code you could only do text in and out.

To get it to work you would have to implement a command line switch for turing that redirects input and output to stdin. Then you could call that from rails or php.

I was thinking the exact same thing...one solution could be the implementation that Dan uses for DWITE, though that's only text.
I guess that work could be comparable to OnLive...I'm gonna start with a WYSIWYG front end first though.
trishume




PostPosted: Wed Jan 25, 2012 6:46 pm   Post subject: Re: New Open Turing Editor *Alpha* - Autocompletion, tabs, regex search and more

Something you could do that would be useful for DWITE and all sorts of things is create a fork of openturing that has no platform dependent code.

All you'd have to do is remove references to functions with the mdio and ed prefixes and then write a command line interface for it.

From that all the platform dependent input, sound and graphics could be implemented in SDL and then with the Qt editor turing would be truly cross-platform.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 4  [ 60 Posts ]
Goto page Previous  1, 2, 3, 4  Next
Jump to:   


Style:  
Search: