4 ms·
James Halliday a while ago wrote a package system for C based on npm - a node package system: https://github.com/substack/dotc#dotc https://github.com/substack/
by andrewl-hn 12y ago
James Halliday a while ago wrote a package system for C based on npm - a node package system: https://github.com/substack/dotc#dotc https://github.com/substack/dotc#dotc
The machinery behind it is surprisingly simple. You have 2 pre-processor commands: #require and #exports and you use them to build up a hierarchy of dependencies.
- e12e 12y agoInteresting. Not sure how I feel about the requirment to use c++ features for a c package manager though...