TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: A playground for in-browser interpreters

79 pointsby fatiherikliover 9 years ago

6 comments

colonelxcover 9 years ago
Very nice. I really like how it pretty prints python objects. I wish it was a bit more &quot;repl&quot;-y, but the quick auto-evaluation helps make up for that.<p>I currently use <a href="https:&#x2F;&#x2F;repl.it&#x2F;" rel="nofollow">https:&#x2F;&#x2F;repl.it&#x2F;</a> for an in browser interpreter&#x2F;repl.
fatiherikliover 9 years ago
Currently supports Python, Ruby and Brainfuck. Guide to adding new interpreter:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;fatiherikli&#x2F;fil#adding-new-interpreter" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fatiherikli&#x2F;fil#adding-new-interpreter</a>
RodgerTheGreatover 9 years ago
The BrainFuck interpreter doesn&#x27;t seem to work properly. For example, I tried<p><pre><code> ++++++++++[-&gt;+++++++&lt;]. </code></pre> Which multiplies 10x7 and should print &quot;F&quot; (ascii 70). Nothing appears to print.<p>I have a K interpreter[1] that could be adapted fairly easy to a system like this. Other good candidates include JSForth[2] and NGN APL[3].<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;JohnEarnest&#x2F;ok" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JohnEarnest&#x2F;ok</a><p>[2] <a href="http:&#x2F;&#x2F;home.diphi.com&#x2F;users&#x2F;jeffr&#x2F;forth&#x2F;jsforth.html" rel="nofollow">http:&#x2F;&#x2F;home.diphi.com&#x2F;users&#x2F;jeffr&#x2F;forth&#x2F;jsforth.html</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;ngn&#x2F;apl" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ngn&#x2F;apl</a>
评论 #10206867 未加载
vorticoover 9 years ago
The interface of the text editor is beautiful, and it&#x27;s done using a surprisingly minimal amount of CSS.
stuaxoover 9 years ago
Oh, nice ... it might be worth having Brython too, since it and Skulpt both cover different areas of python (and use different methodologies).
ameliusover 9 years ago
Does it re-evaluate the complete thing at every change? Or is it smarter, and only recomputes things that need recomputation?
评论 #10205560 未加载