Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Swift Basics (retired) Variables and Constants What is Swift?

i want to ask about making my own programming language how to get this level?

...!

2 Answers

Dan Johnson
Dan Johnson
40,532 Points

Once you have have a solid understanding of the basics of any general purpose language you can branch off to just about anything without too much trouble. An understanding of more advanced topics such as data structures and design patterns will help with language implementation however.

Here's a book you might find interesting that can help get you started with language implementation.

Hi, one question which comes to mind immediately is whether you are trying to make a language is whether you are going to use it as an interpreter, or as a compiler.

Making a language is as simple as making a syntax and grammar that you want.

Implementing the language becomes a bit more tricky, as you have various pieces to put together, including the following: parser scanner intermediate code generator code generator

There are many good books on this topic, and if you are interested in seeing a language in the works, I am actually working on a language right now, and would be more than happy to explain how it works.

The link for my project can be found at: https://github.com/azadibogolubov/SmartAndroidParser

Hope this helps.