Clean up of some of the comments or unnecesary debugging things
[TinyThreePassCompiler/.git] / README.md
1 # TinyThreePassCompiler
2
3 # The problem
4
5 This problem is derived from the [Tiny Three-Pass Compiler kata from codewars](https://www.codewars.com/kata/5265b0885fda8eac5900093b)
6 and  basically it is about writing a three-pass compiler for a simple programming
7 language into a small assembly language which syntax is like follows:
8
9 ```bash
10 [ a b ] a*a + b*b
11 ```
12 > a^2 + b^2
13
14 ```bash
15 [ first second ] (first + second) / 2
16 ```
17 > average of two numbers
18
19
20 # How is this implementation different from the original kata
21
22 The plan for this implementation is to make it work not with JSON structures but
23 with protocol buffers, the reason is basically just to practice those technologies
24 but it is also true that in a real compiler saving and transporting binaries and
25 not text as it would be the case for JSON could mean a significant improvement.
26