Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What real programming languages are easy to write interpreters for?

What real programming languages are easy to write interpreters for?

"Real" languages for me, are languages you can actually write a small project with, not one of the easy Esoteric programming languages.

(I'm asking because I want to do some hobby project.)

like image 425
Liran Orevi Avatar asked Aug 05 '09 22:08

Liran Orevi


People also ask

Which of the following programming languages use interpreters?

Some examples of programming languages that use interpreters are Phyton, Ruby, Perl, PHP and Matlab.

What are the best interpreted programming languages for beginners?

What are the best interpreted programming languages? Python's popularity and beginner friendliness has led to a wealth of tutorials and example code on the internet. This means that when beginners have questions, they're very likely to be able to find an answer on their own just by searching.

How to write an interpreter or a compiler?

1 To write an interpreter or a compiler you have to have a lot of technical skills that you need to use together. ... 2 You really want to know how computers work. Often interpreters and compilers look like magic. ... 3 You want to create your own programming language or domain specific language. ...

What is an example of a self interpreter?

An example can be a BASIC interpreter written in BASIC. Self interpreters are created in case if no compiler exists for a language. Their creation requires the implementation of that language in a host language. This host language can be another programming language. 1. It converts the whole program into machine code at once.


1 Answers

The Metacircular Evaluator in SICP is an exercise for writing a Scheme interpreter in Scheme. It's a common first-year CS project.

like image 107
Meredith L. Patterson Avatar answered Sep 25 '22 15:09

Meredith L. Patterson