quark-editor icon indicating copy to clipboard operation
quark-editor copied to clipboard

Adding more Support for Python and Java

Open callowaysutton opened this issue 6 years ago • 15 comments

Maybe possibly run JavaPoly or Skulpt to have previewable execution of those languages as well...

callowaysutton avatar Mar 25 '18 04:03 callowaysutton

Oh wow, those are some good ideas, I'll check them out. I didn't know how to run java or python in the browser, thanks! Will do this soon :D

Sheshank-s avatar Mar 25 '18 18:03 Sheshank-s

Haha yeah, you can literally run anything in the browser now with the V8 engine and all these faster CPUs, I got Linux to run in Chrome with Emscripten and it's completely usable on my school chromebook where everything's blocked :P

callowaysutton avatar Mar 26 '18 17:03 callowaysutton

Wow! That’s pretty powerful. Hopefully this will be able to be implemented without much issue.

MasterOfTheTiger avatar Mar 27 '18 16:03 MasterOfTheTiger

Java should be very easy to implement because, at least according their website, it just takes in Java code once you include JavaPoly.js

callowaysutton avatar Mar 27 '18 17:03 callowaysutton

What about Python?

MasterOfTheTiger avatar Mar 27 '18 20:03 MasterOfTheTiger

I haven't looked at the documentation extensively but it seems pretty straightforward. I think it's Python 2.7 though, but maybe check it out.

callowaysutton avatar Mar 27 '18 23:03 callowaysutton

It might be good to support 2.7 and 3.x. That way you can program in either in quark-editor. That's because both are often used now.

MasterOfTheTiger avatar Mar 28 '18 00:03 MasterOfTheTiger

I know there is another Javascript interpreter for Python that's made for 3.4 or 3.6 so you could just include both, I'll look for the other one

callowaysutton avatar Mar 28 '18 01:03 callowaysutton

Here it is

callowaysutton avatar Mar 28 '18 01:03 callowaysutton

I'm super busy this month, if possible can you make a PR for it? If not tottally okay, I'll try and get it done next month.

Sheshank-s avatar Mar 28 '18 22:03 Sheshank-s

I'm at the beach but I can try developing it in my free time, it shouldn't take long I don't think

callowaysutton avatar Mar 29 '18 23:03 callowaysutton

Okay, thanks!

Sheshank-s avatar Mar 29 '18 23:03 Sheshank-s

@callowaysutton May I please have a quick update? If you are not able to do it that is okay, I can spend some time over the weekend on this.

Sheshank-s avatar Apr 08 '18 00:04 Sheshank-s

It's the time for End of Semester/Course/State testing and I'm already working on two other projects... Sorry I would usually do this for you in a jiffy but right now my time is really limited and I won't be able to finish it :/

callowaysutton avatar Apr 09 '18 07:04 callowaysutton

Alright that's fine, thanks anyways :)

Sheshank-s avatar Apr 09 '18 21:04 Sheshank-s