BenchR267 / lbd

Learning By Doing - my own programming language to learn how to write a compiler toolchain. Follow my progress at http://blog.benchr.de/tags/compiler/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lbd - Learning By Doing Build Status Go Report Card Coverage Status

In the year 2017 I started to challenge myself by creating an own programming language to get more familiar with the whole topic of compilers and interpreters. Aim is not to create a new programming language that should be hyped and that does anything better than existing languages. It is my goal to learn something by creating this project.

Another challenge for me is to write one blog post a week; so creating this project is also a very important there. If you want to keep track about my thoughts during the progress of coding, check out the tag 'compiler' at my blog: LINK.

Check out all the other stuff at this LINK.

To get a feeling for the language, here is a first draft of the MVP:

add = (a int, b int) -> int {
	return a + b
}

mul = (x int, y int) -> int {
	return x * y
}

a = 5
b = 4
c = add(a, b)
d = mul(a, b)

About

Learning By Doing - my own programming language to learn how to write a compiler toolchain. Follow my progress at http://blog.benchr.de/tags/compiler/

License:MIT License


Languages

Language:Go 100.0%