Duphus
Duphus

Reputation: 201

How to make a C-Like Interpreted Scripting Language in C#

Question: I am looking to develop a Scripting Language like Lua, but you use

    if (paramters) {
        codeToDo()
    }

rather than

    if parameters do
        code_to_do()
    end

but have yet to find a good tutorial out their on the internet.

Parameters: I want it to be interpreted, and I also want to make it in C#, so that it integrates with it the easiest.

Upvotes: 1

Views: 1665

Answers (1)

someoneigna
someoneigna

Reputation: 556

Writing a language and an interpreter is not an easy task, you have to define the complete syntax and after write a parser for it, finally you have to implement a interpreter capable of executing your language.

There are already answers about creating programming languages here on SO:

Some books that could guide you in the right direction:

Upvotes: 1

Related Questions