We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [interpreter]

An interpreter is a computer program which directly executes instructions written in a programming language.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
97 views

(Lisp in (Rust))

I loved Norvig's Lispy, and made the first version of it in Rust, to learn Rust. I would love your thoughts :) A few specific questions: Is there a way to write ...
5
votes
0answers
88 views

Clojure BrainF*** Interpreter

Since I want to try writing my own language at some point, I wanted to have some experience writing an interpreter. BrainFuck is the simplest language I (kind of) know, so I decided to try writing an ...
5
votes
0answers
97 views

brainF*** interperter in lua

For a personal project I may need to load and execute something that will basically be a very simple programming language. Though I am not at all close to this part of the project yet and I can most ...
4
votes
0answers
97 views

Brainfuck interpreter written in Rust

I'm learning Rust at the moment by reading the book (currently on chapter 17). I wrote this simple Brainfuck interpreter, because I think that it's always a fun exercise. The program consists of ...
3
votes
1answer
110 views

Simple Brainfuck Interpreter in Rust

Not a long time ago, I got into Rust and I made a simple Brainfuck Interpreter. Now I want to get back to Rust and I would like some comments on my code: Just in case it's hard to read code from post:...
3
votes
0answers
57 views

Interpreter in Java for S.I.L.O.S., a custom language

I designed and implemented a custom language. After @LeakyNun refactored it to improve speed, it looks like this. I personally like it right now, but is there any more hyperoptimizations for both ...
3
votes
0answers
904 views

Lambda calculus interpreter in Haskell

This code is a representation of lambda calculus using an AST instead of text. ...
2
votes
0answers
64 views

Program to draw ASCII art based on commands

I want to know how to improve the design of Canvas drawing implementation. Canvas Drawing This solution is to implement a console-based canvas drawing application. Problem Statement Description ...
2
votes
0answers
67 views

RPN calculator in Chicken Scheme

My first attempt at Scheme (Chicken Scheme) - a simple RPN calculator. Please comment on exception handling as well as the general coding style. Here is the code: ...
2
votes
0answers
64 views

Stack based esoteric language interpreter in Ruby

For a while now, I've wanted to write a stack-based "Turing-tarpit". This is the perfect excuse to learn Ruby, which I have never used before, so I wrote Brain-flak. The language only uses these ...
1
vote
0answers
65 views

Brain-flak interpreter

I'm learning Go, so I decided to make a Brain-flak interpreter for practice. ...