Borgo is a statically typed language that compiles to Go
1–10 of 559 posts
Re: Borgo is a statically typed language that compiles to Go
#2It appears to be a transpiler (consumes a Borgo and does the work to convert and emit a Go program as text):
https://github.com/borgo-lang/borgo/blob/main/compiler/src/c...
Re: Borgo is a statically typed language that compiles to Go
#3Re: Borgo is a statically typed language that compiles to Go
#4Is it correct to say Borgo "compiles to Go", or should it say "transpiles to Go" It appears to be a transpiler (consumes a Borgo and does the work to convert and emit a Go program as text): https://github.com/borgo-lang/borgo/blob/main/compiler/src/c...
And it's written in rust. Kinda unholy.
Re: Borgo is a statically typed language that compiles to Go
#5Is it correct to say Borgo "compiles to Go", or should it say "transpiles to Go" It appears to be a transpiler (consumes a Borgo and does the work to convert and emit a Go program as text): https://github.com/borgo-lang/borgo/blob/main/compiler/src/c...
Readme says transpile: "Borgo is a new language that transpiles to Go." And it's written in rust. Kinda unholy.
> And it's written in rust. Kinda unholy.
Agreed, it's like, do you really hate writing Go so much that you'll really write all that Rust to get out of it? Haha. Reminds me of the web frameworks which generated the JS so you didn't have to touch it, like GWT of old.
I'm sure it was a fun exercise to create Borgo, though.
My favorite transpiler is Haxe. It targets so many other languages, the surface area is impressive.
Re: Borgo is a statically typed language that compiles to Go
#6Why would you target Go?
Re: Borgo is a statically typed language that compiles to Go
#7Why would you target Go?
It's a nice way to bootstrap ecosystem IMHO. No one wants to use a brand-new language without library support for common tasks.
Re: Borgo is a statically typed language that compiles to Go
#8Re: Borgo is a statically typed language that compiles to Go
#9Is it correct to say Borgo "compiles to Go", or should it say "transpiles to Go" It appears to be a transpiler (consumes a Borgo and does the work to convert and emit a Go program as text): https://github.com/borgo-lang/borgo/blob/main/compiler/src/c...
Re: Borgo is a statically typed language that compiles to Go
#10Why would you target Go?
It's a language known for having a great runtime and tooling but subpar language semantics. Makes sense to me, at least. Most of the benefits of go with fewer drawbacks.
I did not post your parent comment.