[Web Feed] This article presents Mugo, a single-pass compiler for a tiny subset of the G...

Feed Supplier <[email protected]> Mon, 10 May 21 11:22:39 UTC
Newsgroups alt.comp.programming
Organization Usenet.Farm
Message-ID <[email protected]>
..o programming language. It outputs (very naive) x86-64 assembly



This article presents Mugo, a single-pass compiler for a tiny subset of the Go programming language. 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.




Link 1


Mugo, a toy compiler for a subset of Go that can compile itself: https://benhoyt.com/writings/mugo