Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

James Halliday a while ago wrote a package system for C based on npm - a node package system: 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.



Interesting. Not sure how I feel about the requirment to use c++ features for a c package manager though...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: