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 in some cases `slice == nil` gives false even if slice is nil. # Expected results when slice is nil, | expression | value | |--------|--------| | slice ==...

bug
good first issue

* `go run` should be run on macOS * assemble and link and execution should be done in a docker container

Currently, `babygo` supports only simple function calls: ```go defer f() ``` but not method calls; ```go defer obj.method() ``` # How to do it We should capture and save the...

enhancement
good first issue

https://go.dev/ref/spec > For convenience, the predeclared type any is an alias for the empty interface.

good first issue

```go const ( ... ) ```

good first issue

```go type ( ... ) ```

good first issue

```go var ( ... ) ```

good first issue

Spec: https://go.dev/ref/spec#Iota Depends on https://github.com/DQNEO/babygo/issues/116 Ref: iota in minigo https://github.com/DQNEO/minigo/blob/5ab7420fbca2f65d81bc761d5cbe51a2b28953a8/parser.go#L1042-L1071

good first issue

``` $ gopackages -mode types ./lib/mylib Go package "github.com/DQNEO/babygo/lib/mylib": package mylib has complete exported type info file /Users/DQNEO/src/github.com/DQNEO/babygo/lib/mylib/mylib.go import "github.com/DQNEO/babygo/lib/mylib2" import "os" func InArray(x string, list []string) bool const Msg...