All Questions
Tagged with interpreter python
32 questions
9
votes
1
answer
131
views
Lisp-like language interpreter in Python
I decided to learn more about how interpreters work and made a simple Scheme interpreter in Python. I'd like to hear some advice on how I could have written this better, or on the mistakes I've made.
...
1
vote
0
answers
413
views
Interpreter for a Python-like Language (ANTLR and Python)
Code for grammar
...
1
vote
1
answer
333
views
11
votes
2
answers
480
views
BrainF**k interpreter in python
Here's what I've come up with:
...
4
votes
1
answer
159
views
Meta-circular interpreter for lambda calculus in Python
For learning purpose, I've written a simple lambda calculus interpreter (plus 'Add'). I would like it to be the cleanest and most idiomatic possible.
Can we make it as neat as the Haskell version?
<...
2
votes
1
answer
77
views
Convert Tail-Call Recursive Code to Loop [closed]
So, I'm in the midst of writing a programming language interpreter in Python, and one of the problems I'm concerned about is that since I've been using a lot of recursions to implement the interpreter,...
5
votes
1
answer
150
views
Interactive complete Brainfuck Interpreter
This is another Brainfuck interpreter in Python. I personaly think this is better than most of the other once you find online, because it keeps a bracket_map, which ...
8
votes
2
answers
194
views
Starting point for a collaboratively developed golfing language interpreted in Python
Over on Code Golf, we've decided, for once, to write some readable code! However, we're obviously not very good at that, so we need your help to make it even better.
I've proposed this challenge on ...
8
votes
1
answer
2k
views
Befunge-93 interpreter in Python
I was doing some CodeFights and had alot of fun with this Befunge challange
Problem statement
While exploring the ruins of a golden lost city, you discovered an
ancient manuscript containing ...
3
votes
1
answer
108
views
Python Brainf*ck interpreter
What do you think of my Brainf*ck interpreter?
What else can be done to increase speed?
...
3
votes
1
answer
357
views
Bytecode Interpreter for a custom programming language
Over the past week, I've been working on a project that works as an interpreter of sorts for bytecodes in a custom language that would run in a "live" environment. It works, in a sense (I ...
3
votes
1
answer
130
views
What's so bad about HODOR?
I am writing a recreational language based off the speech pattern of Hodor from Game of Thrones. Basically the only commands are Hodor. You can find the complete ...
8
votes
2
answers
903
views
A brainfuck interpreter in python 3
I've been writing a brainfuck interpreter in python 3. It's nothing serious, but I'm trying to make it as good as possible (considering program structure, user experience and etc) for my own learning ...
13
votes
2
answers
403
views
Year 0: Instruction Follower
Having played Human Resource Machine for over a day, and wanting to improve my interpreting / tokenizer skills, I made a Human Resource Machine interpreter.
For those that do not know, so if you do ...
5
votes
1
answer
222
views
Simple code-golf programming language written in Python
I've written a "simple" interpreter for a programming language in Python, called Tellurium (named after the element of the same name). So far, it's working pretty well, but there are some things I'd ...