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.

Python-like programming language interpreter written in Python

39 pointsby KAdotover 9 years ago

6 comments

fernlyover 9 years ago
Meta? You want meta? Try byterun [1], a full Python bytecode executor written in Python...<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;nedbat&#x2F;byterun" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nedbat&#x2F;byterun</a>
acomjeanover 9 years ago
We had to write a scheme like language interpreter in scheme in grad school. I found it very meta, but interesting.<p>Northeastern Prof Wand taught the class, a quick google reveals it was 3 book versions ago. Still teaching in Scheme though the book is 2009 (Racket).<p><a href="http:&#x2F;&#x2F;www.eopl3.com" rel="nofollow">http:&#x2F;&#x2F;www.eopl3.com</a><p>And the git source from the book (more useful with the book though...): <a href="https:&#x2F;&#x2F;github.com&#x2F;mwand&#x2F;eopl3" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mwand&#x2F;eopl3</a>
chrisshrobaover 9 years ago
Thanks so much for posting this, you&#x27;ve inspired me to try my hand at writing a similar parser. I&#x27;ll definitely be using your code as reference as I go!
rakibtgover 9 years ago
Thanks, the lexer implementation helps me a lot for my compiler design course :-)
sabujpover 9 years ago
tldr: ?
thewisenerdover 9 years ago
python-like interpreter in python.<p><i>inception reference</i>