babygo
babygo copied to clipboard
babygo👶 is a small Go compiler made from scratch, which can compile itself. It's going to be the smallest and simplest go compiler in the world.
``` 0xff 0b1111 0b11_11_11 0666 ```
Current status ``` $ time make clean test real 0m7.794s user 0m5.660s sys 0m2.328s ```
So that an invoked M can wait.
``` %v, %#v, %T, %p ```
Consider these cases ```go str := string(slice) slice[0] = 'X' ``` ```go str := "hello" slice := []byte(str) slice[0] = 'X' ```
https://sourceware.org/binutils/docs/as/Loc.html#Loc