Tuesday, September 21, 2010

Create Your Own Programming Language

Create Your Own Programming Language
A system to achieve every programmer’s dream.
Learn how to create a simple programming language in a few days with this easy step-by-step guide.
What you’ll learn
The system will walk you through each step of language-building. Each section of the book will introduce a new concept and then apply its principles to a language that we’ll build together. All technical chapters end with a Do It Yourself section that suggest some language-extending exercises. You’ll find solutions to those at the end of this book.
Our language will be dynamic and very similar to Ruby and Python. All of the code will be in Ruby, but I’ve put lots of attention to keep the code as simple as possible so that you can understand what’s happening even if you don’t know Ruby. The focus of this book is not on how to build a production-ready language. Instead, it should serve as an introduction in building your first toy language.
Here are some subjects covered in the book:
  • Lexer, with Python-style indentation
  • Parser, using Racc (a Yacc-like tool)
  • Runtime, bootstrapping and self-hosting
  • Compilation, using LLVM
  • And much more!
Impress your employer and peers with a résumé that says: I created my own programming language.
Creating a programming language from scratch is hard. It takes several attempts before finally coming up with a fully working language. This system will teach you all the tricks you need to know to make your language come to life. This is a great skill to put on your résumé and it's also fun to learn.
Template Language running on the JVM
The book will guide you through the creation of a simple language written in Ruby. Once you’ve been through the exercises in the book and feel ready to dive in and create a real language, you’ll start from the template language running on the JVM (Java Virtual Machine) included with the system. And just to make sure you’re ready to use the template right away, we’re also including a screencast explaining the code.
The package includes full source code of two programming languages you can extend and redistribute, even as an open-source project.
Get all this free: http://36c946j1j44y0w8dq7y-i9brdb.hop.clickbank.net/

No comments:

Post a Comment