Code compiler for topics


(Yoginth) #1

Implement code compiler in topics discussion page if someone post a code snippet.


(Stephen Chung) #4

You mean a dynamic syntax checker or linter?


(Yoginth) #5

No like executing the code and giving the output.


(Stephen Chung) #6

I would say this is extremely unlikely, considering the number of different languages and runtimes.


(Yoginth) #7

it is hard but it would be nice if implemented with third party like sphere engine


(Rafael dos Santos Silva) #8

I recommend using https://repl.it/, check it out @Yoginth


(Yoginth) #9

how to embed it? @Falco


(Rafael dos Santos Silva) #10

It’s a standard Discourse onebox, so you go and create your code on replt.it and then paste your url in a line by itself in the post, like, if I paste

https://repl.it/@xfalcox/TransparentSmallBrace

it becomes