babygo icon indicating copy to clipboard operation
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.

Results 25 babygo issues
Sort by recently updated
recently updated
newest added

Currently, only line number is shown. It would be nice if we could follow the official go compiler: e.g. ``` ./main.go:1901:1: syntax error: non-declaration statement outside function body ```

good first issue

* check `make test` exit status * Support docker run or docker exec to run `make tesst`

# Issue Currently, `fmt.Printf("%s", obj)` does not work even if obj has a `String()` method. Probably `src/reflect` and internal asm generation should be modified.

I named middle layer objects "Meta" because originally they were additional information to AST objects, but over time they grew bigger and now they are not only "additional" stuff. Actually...

I cloned the repo and ran: ```sh go build -o babygo ``` and then ```sh ./babygo build -o hello ./example/hello ``` but it gave an error ``` panic: No source...