R
R
Rick_Floris2019-04-14 09:02:16
Programming languages
Rick_Floris, 2019-04-14 09:02:16

I want to write my own programming language interpreter, in which direction to dig?

I want to write my own programming language interpreter, in which direction to dig?
What do you recommend on this topic? English is not an option.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Gornostaev, 2019-04-14
@Rick_Floris

5cb2cd994a731133543905.jpeg

V
Vladimir T, 2019-04-14
@32bit_me

English textbook, obviously.

D
dollar, 2019-04-14
@dollar

Reverse Polish notation (RPN).
Or trees.

A
ApeCoder, 2019-04-14
@ApeCoder

It depends on how fundamentally you want to master the topic.
If you want to understand in general, they gave you a dragon book.
If you want to make a quick mess, look for a tutorial for your programming language ("Writing a programming language in C#")
You can also look towards parser generators (lec, yacc, antlr etc).
And also think, maybe an existing one will suit you - you just need to build it in.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question