Skylark (the language used by Bazel) is being ported to Go. Maybe a good place to start?
Re:Bazel can now build Haskell
by numbsafari on Wednesday February 28, 2018 @11:56AM
(#16484394)
The java dependency is my biggest hangup wrt to incorporating it into my own environment.
So far, I've avoided having to incorporate the JDK into my stack. Having to bring it in just for a build tool, keeping it up-to-date on developer configurations, just feels like a royal pain.
I realize it's never gonna happen, but having bazel rewritten in Go or C++ or anything else that produces a single binary would be awesome.
We have done more or less that: https://please.build / https://github.com/thought-machine/please
It's written in Go so doesn't need any external dependencies unless you want to target that language (i.e. it only needs a JDK if you're trying to build Java).
Disclaimer: I'm the main author.
Re:Bazel can now build Haskell
by numbsafari on Wednesday February 28, 2018 @01:43PM
(#16485491)
Wow. Looks good! Thanks for the heads up.
I've been meaning to try and write a somewhat saner build system to replace the Auto* hell, at least for C and C++. I'm focused on other things right now but I've been studying and collecting information about the architecture of many other build systems for a while, and some of them are so much ahead of those used in open source projects it's not even funny. At the very least I'll be writing a lengthy blog post with my findings.