Skip to main content
Code Review

Questions tagged [interpreter]

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

Filter by
Sorted by
Tagged with
8 votes
2 answers
979 views

A tree of polymorphic types (Crafting Interpreters Book)

I am following the book crafting interpreters by Robert Nystrom using C++. In the book we use an Expr base class to describe expressions in the language lox. ...
7 votes
2 answers
365 views

Lexically-scoped Lisp interpreter

Introduction Here's an interpreter, written in Common Lisp, for a simple Lisp dialect that has some semi-"advanced" features, namely lexical scope with closures, ...
6 votes
0 answers
283 views

tbf - An Optimizing Brainfuck Interpreter and Transpiler in C

Language: The Brainfuck programming language consists of eight commands: ...
4 votes
1 answer
291 views

200 line Brainfuck Interpreter

I wrote a simple brainfuck interpreter in C99. Coming from a background of C++ made the task easier, but still there is some stuff I had to get used too. The program accepts a path to a brainfuck file ...
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. ...
4 votes
2 answers
139 views

Extensible typing system for a strongly-typed DSL

I recently finished cleaning up my code in a compiler/interpreter for a strongly-typed domain-specific language, which makes use of three sorts of types: Compile-time enumerated types: Have one of a ...
P...'s user avatar
  • 141
1 vote
0 answers
413 views
5 votes
0 answers
88 views

Scheme interpreter in QBASIC

I wrote an interpreter for Scheme which includes stop and copy garbage collection. ...
-1 votes
1 answer
168 views

Brainfuck interpreter in C, looking for improvements on the looping functionality [closed]

I've just started to get into PL design and made a simple Brainfuck interpreter. Although it is functional, I don't feel too confident on the execution, particularly the implementation for loops, I ...
3 votes
0 answers
129 views

Mini Scheme interpreter

Right now, I'm working on an interpreter for a subset of the Scheme programming language. It supports lambdas, let/let*/letrec, procedures, combinations, ...
6 votes
4 answers
2k views

Simple scripting language (interpreter) in C

I made simple scripting language (interpreter) in C and now, I want to make my code better. Here is my code: ...
sbh's user avatar
sbh
  • 147
2 votes
0 answers
95 views

Small language, compiles to register VM bytecode

I am trying to implement a small programming language, in Nim, as a way of improving my (close to non-existent) programming skills. The programming language is intended to have IF-GOTO, variables, and ...
3 votes
1 answer
135 views

Very simple scripting language (interpreter) in C

I made very simple scripting language (interpreter) in C and now, I want to make my code better. Here is my code: ...
sbh's user avatar
sbh
  • 147
3 votes
1 answer
86 views

Tiny attempt at a register machine in Nim

I am attempting to learn the Nim language by making a small and simplistic register machine. It is intended to interpret some basic instructions. The entire parsing lexing process consists of ...

15 30 50 per page
1
2 3 4 5
...
10

AltStyle によって変換されたページ (->オリジナル) /