monk
monk

Reputation: 4817

How to can I develop a programming language like Coffee Script?

What are the initial requirement that i need to know to develop a programming language like coffee script that basically has its own syntax but after compilation changes into another language. I did Google on that but couldn't find the right answer.

Upvotes: 7

Views: 1141

Answers (3)

Asumu Takikawa
Asumu Takikawa

Reputation: 8523

A good first step is to read Programming Languages: Application and Interpretation. It'll teach you how to design and implement languages with interpreters.

Upvotes: 3

Jon Purdy
Jon Purdy

Reputation: 54979

Upvotes: 8

Gilbert Le Blanc
Gilbert Le Blanc

Reputation: 51445

The initial requirements are:

  • Determine the target computer language
  • Develop the syntax of your new language
  • Map the syntax of your new language to the target language.

You'll still have plenty of work ahead, but basically, you're translating your new language into a target language.

Upvotes: 0

Related Questions