Skip to content
/ mugo Public

Mugo, a toy compiler for a subset of Go that can compile itself

License

Notifications You must be signed in to change notification settings

benhoyt/mugo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

79fad22 · Apr 12, 2021

History

34 Commits
Apr 12, 2021
Apr 7, 2021
Apr 2, 2021
Apr 10, 2021
Apr 11, 2021
Apr 12, 2021
Apr 2, 2021
Apr 8, 2021
Apr 12, 2021
Apr 8, 2021

Repository files navigation

Mugo

Mugo is a single-pass compiler for a tiny subset of the Go programming language -- just enough to compile itself. It outputs (very naive) x86-64 assembly, and supports just enough of the language to implement a Mugo compiler: int and string types, slices, functions, locals, globals, and basic expressions and statements.

Read the full article.

About

Mugo, a toy compiler for a subset of Go that can compile itself

Resources

License

Stars

Watchers

Forks