# Code compiler for topics

**URL:** https://meta.discourse.org/t/code-compiler-for-topics/85336
**Category:** Feature
**Created:** [April 14, 2018, 3:30pm UTC](https://meta.discourse.org/t/code-compiler-for-topics/85336 "2018-04-14T15:30:41Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Yoginth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yoginth/32/119994_2.png) [@Yoginth](https://meta.discourse.org/u/Yoginth)
#### Post date: [April 14, 2018, 3:30pm UTC](https://meta.discourse.org/t/code-compiler-for-topics/85336/1 "2018-04-14T15:30:42Z")

</div>

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

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [April 15, 2018, 5:03am UTC](https://meta.discourse.org/t/code-compiler-for-topics/85336/4 "2018-04-15T05:03:22Z")

</div>

You mean a dynamic syntax checker or linter?

---

<div class="post-metadata">

### Author: ![Yoginth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yoginth/32/119994_2.png) [@Yoginth](https://meta.discourse.org/u/Yoginth)
#### Post date: [April 15, 2018, 5:04am UTC](https://meta.discourse.org/t/code-compiler-for-topics/85336/5 "2018-04-15T05:04:29Z")

</div>

No like executing the code and giving the output.

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [April 15, 2018, 5:06am UTC](https://meta.discourse.org/t/code-compiler-for-topics/85336/6 "2018-04-15T05:06:09Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Yoginth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yoginth/32/119994_2.png) [@Yoginth](https://meta.discourse.org/u/Yoginth)
#### Post date: [April 15, 2018, 5:07am UTC](https://meta.discourse.org/t/code-compiler-for-topics/85336/7 "2018-04-15T05:07:00Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 16, 2018, 12:56am UTC](https://meta.discourse.org/t/code-compiler-for-topics/85336/8 "2018-04-16T00:56:12Z")

</div>

I recommend using [https://repl.it/](https://repl.it/), check it out @Yoginth

[https://repl.it/@xfalcox/TransparentSmallBrace?v=2](https://repl.it/@xfalcox/TransparentSmallBrace?v=2)

---

<div class="post-metadata">

### Author: ![Yoginth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yoginth/32/119994_2.png) [@Yoginth](https://meta.discourse.org/u/Yoginth)
#### Post date: [April 16, 2018, 1:00am UTC](https://meta.discourse.org/t/code-compiler-for-topics/85336/9 "2018-04-16T01:00:28Z")

</div>

how to embed it? @Falco

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [April 16, 2018, 1:01am UTC](https://meta.discourse.org/t/code-compiler-for-topics/85336/10 "2018-04-16T01:01:55Z")

</div>

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

[https://repl.it/@xfalcox/TransparentSmallBrace](https://repl.it/@xfalcox/TransparentSmallBrace)
