One thing that will not help with the adoption of SourceGo (Go dialect for Source engine games) is that many communities have alot of code in SourcePawn so there's not much motivation to adopt SourceGo.
However, a SourcePawn->SourceGo transpiler might help out alot with that.
[x] create sptools Go library
[x] preprocessor
[x] lexer/tokenizer
[x] parser
[x] AST
After making & debugging sptools as a library, we can then translate the SP AST into the Golang AST, a good type-checking, then proceed with pretty printing from there.
One thing that will not help with the adoption of SourceGo (Go dialect for Source engine games) is that many communities have alot of code in SourcePawn so there's not much motivation to adopt SourceGo.
However, a SourcePawn->SourceGo transpiler might help out alot with that.
sptools
Go libraryAfter making & debugging
sptools
as a library, we can then translate the SP AST into the Golang AST, a good type-checking, then proceed with pretty printing from there.