Closed rdbeach closed 4 years ago
Hello @rdbeach What language are you interested to eval?
I think Python and javascript would be my first priority. However, I was asking if there is a general way to do it, as well. The thing is, I have my own codemirror editor. I would like to be able to grab the contents from it, send it to the compiler and put the output in a place of my choosing. I saw that this project handled multiple languages, which is something I found desirable.
So I figured out a way to do this. It's a hack, but I guess I'll go with it for now.
Hi, I have a couple of questions.
First, can I just send the code as a string to the compiler and have it return a result as a string, bypassing the DOM elements.
I saw something like this in the examples:
But I tried it and it didn't seem to work. Maybe there have been changes?
Second, are all the complilers/interpreters bundled in the one js file? How do I assemble only the compilers I want?
BTW I'm a javascript guy. I'm not that familiar with clojure.