bacon icon indicating copy to clipboard operation
bacon copied to clipboard

Apply bacon to other languages and compilation backends ?

Open Canop opened this issue 3 years ago • 17 comments

Some parts of bacon were designed for Rust and are tied to cargo:

  • default bacon.toml file
  • compiler output parsing
  • test output parsing
  • documentation
  • the use of TOML (which is just totally unknown outside the Rust ecosystem)

That's not much. Bacon could be used for other build chains.

But as I don't currently have a personal need, I'll progress there only if there's some interest. Comment if you're interested.

Canop avatar Feb 08 '22 09:02 Canop

Python is also adopting TOML these days.

TyberiusPrime avatar Feb 12 '22 10:02 TyberiusPrime

so for basic functionality, i think it'd be best to basically have modular, replaceable parsing strategies for different compilers/tools, perhaps even formatters, selectable per job in the TOML file?. personally i'd have a usecase for python's mypy, black, and unittest/pytest, as well as haskell's GHC, so i could get started on those after factoring out the rust-specific logic

aragonnetje6 avatar Apr 22 '23 21:04 aragonnetje6

As a note, I think you could add support for Ninja and get out-of-the-box support for the vast majority of C and C++ projects.

detly avatar Dec 10 '23 01:12 detly