Computer Science Canada [PRE-ALPHA] Turing WebIDE |
Author: | ProgrammingFun [ Wed Feb 01, 2012 8:32 pm ] |
Post subject: | [PRE-ALPHA] Turing WebIDE |
As promised, I did decide to start some work on a WebIDE for Turing primarily thanks to my discovery of Bootstrap (so I have to do less design). After digging around on similar sites, investigating Bootstrap, and similar tools, I did manage to set up a very basic "thing" right now. All progress will be available on http://webide.mcode.ca/ because my computer is deciding to not let me do development offline. I am commenting the code as much as I feel necessary. Please let me know if it's not enough. Any help is greatly appreciated, especially with the server-site compiling aspect because I am not well-versed with the OpenTuring project. Therefore, this part of the project will be handed over to Tristan (I forgot his username) and it's completely up to him whether to support the project or not. Meanwhile, I will be working on the web aspects of this project and will accept any help and/or advice. Let me know what you think so far, I will continue to post updates in this thread. The development progress will get slower as the exam break ends but I will continue to try to balance both this project and the Java Tutorials. I hope that this will be a learning experience for everyone involved and that we can actually get something off the ground this year. If you are not optimistic and expect this project to fail terribly, let me know. EDIT: You may notice that syntax highlighting is currently working for JavaScript. I would like to request Dan/Tony for the colouring used on this forum (for Turing) so that I don't have to figure out colours from scratch. Thanks! |
Author: | trishume [ Wed Feb 01, 2012 9:04 pm ] |
Post subject: | Re: [PRE-ALPHA] Turing WebIDE |
Bootstrap is amazing that way. Also http://ace.ajax.org/ is way better than codemirror, better themes and more features. And whatever Dan uses for the highlighting in the forums will probably be useless for the editor. Since they will use different highlighting frameworks. Sorry to say but the server thing isn't really possible right now until I finish my compiler or someone works on a pure version of Turing. Right now if the web IDE was hooked up to the interpreter anyone could delete all the files on the server, display graphics, crash the server, etc... This would be great, just we don't have the infrastructure right now. It would help if someone other than me was working on the interpreter coding... |
Author: | ProgrammingFun [ Wed Feb 01, 2012 9:08 pm ] |
Post subject: | RE:[PRE-ALPHA] Turing WebIDE |
Thanks for your opinions. I'll try implementing Ace tomorrow on the current website. I realize that Dan's colour thing would be useless but at least it would give me the colour hex. I'm sorry to hear about the server thing. I don't mind waiting though, maybe someday, it will become a reality. Until then, I will continue to work on this project and release it as a place to type and save code without running if I finish before that time. EDIT: It looks like ace already does that, well I'll think of some cool feature before I get depressed. I would help you with interpreter coding, but I would be pretty lost and only slow you down. |
Author: | trishume [ Thu Feb 02, 2012 5:22 pm ] |
Post subject: | Re: [PRE-ALPHA] Turing WebIDE |
Thanks to the power of github you can't slow me down. Just fork the repository and hack away on it. It won't affect what I'm doing. And you don't have to understand the whole system. I don't understand 80% of it. There is some documentation on the github page but with some code reading skills you can find your way around. I started off with just a zip file of code that wouldn't compile and just kept reading until I understood stuff. It's not that hard. You can do it, don't doubt yourself. Even the smallest contribution helps |
Author: | mirhagk [ Thu Feb 02, 2012 8:59 pm ] |
Post subject: | RE:[PRE-ALPHA] Turing WebIDE |
Doesn't turing use those support libraries written in turing to access the external functions? hence if you removed the correct support libraries then they wouldn't be able to access those methods. From there it'd just be a matter of determining which functions are safe and not (although not many would be, and taking them all out wouldn't really be that bad) |
Author: | trishume [ Sun Feb 05, 2012 4:22 pm ] |
Post subject: | Re: [PRE-ALPHA] Turing WebIDE |
It shouldn't be to remove the right library functions, just comment out lines in lookup.c The hard part would be disallowing file access since that is not done via library functions but special syntax. |