https://github.com/pecigonzalo/godumb
Go, but "hyperoptimized" for the AI line-count era
https://github.com/pecigonzalo/godumb
vibecode
Last synced: 16 days ago
JSON representation
Go, but "hyperoptimized" for the AI line-count era
- Host: GitHub
- URL: https://github.com/pecigonzalo/godumb
- Owner: pecigonzalo
- Created: 2026-05-25T07:20:00.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-29T09:54:25.000Z (about 2 months ago)
- Last Synced: 2026-05-29T11:23:06.683Z (about 2 months ago)
- Topics: vibecode
- Language: Go
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GoDumb
GoDumb is **Go, but hyperoptimized for the AI line-count era**.
Core idea: same Go syntax, but written as one token per line.
## Example
Normal Go:
```go
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
```
GoDumb:
```go
package
main
import
"fmt"
func
main
(
)
{
fmt
.
Println
(
"hello world"
)
}
```
## Quickstart
```bash
nix develop
```
Then:
```bash
task test
task check
task check:examples
task build
task gen:examples
task sync:gobyexample
task transpile:hello
task build:hello
task run:hello
```
Format a file into GoDumb style:
```bash
go run ./cmd/godumb fmt examples/hello.go
```
Write in place:
```bash
go run ./cmd/godumb fmt -w examples/hello.go
```
Transpile GoDumb back to Go:
```bash
go run ./cmd/godumb transpile examples/hello.gdb
```
Write transpiled output to a `.go` file:
```bash
go run ./cmd/godumb transpile -w examples/hello.gdb
```
Build a GoDumb source directly into a binary:
```bash
go run ./cmd/godumb build -o ./bin/hello examples/hello.gdb
```
Run a GoDumb source directly (transpile + build + execute):
```bash
go run ./cmd/godumb run examples/hello.gdb
```
Check GoDumb source with diagnostics mapped to `.gdb` lines:
```bash
go run ./cmd/godumb check examples/hello.gdb
```
Sync curated examples from Go by Example:
```bash
task sync:gobyexample
```
## Repo layout
- `cmd/godumb`: CLI entrypoint
- `cmd/godumb-examples`: Go by Example sync helper
- `internal/godumb`: formatter and transpiler core
- `examples`: sample `.go` and `.gdb` files