[riot-notifications] [RIOT-OS/RIOT] makefiles/utils/{strings, paths}: Add function library. (#11218)

Juan I Carrano notifications at github.com
Thu May 9 14:25:52 CEST 2019


@cladmi  I stated to fix some of the stuff, but each time I approach this I cannot help feeling I'm reinventing the wheel, or in this case, recursive data types, and if I were to keep on going I'd probably end up defining folds, and zips, and maps, and a whole language on top of Make.

On the other hand, since we _don't_ want a configure step (and we have our good reasons) we need to have quite a bit of functionality in make.

Now, looking around I see that Make with Guile (i.e. scheme) support [**is available in ubuntu**](https://packages.ubuntu.com/xenial/make-guile). Writing all this complex logic in scheme is much easier. Even for someone who does not know programming (read [SICP](https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book.html)).

There's still the issue of Mac users (Windows users can run Ubuntu via WLS). AFAIK the newer versions of Make **are available on mac** ([via homebrew](https://formulae.brew.sh/formula/make#default)). 

In conclusion:

- We should implement these functions using scheme.
- Switch the ubuntu image from make to make-guile.
- Mac users: if you want the build to run natively in your platform, please make a small effort and setup your system with up-to-date tools.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11218#issuecomment-490881690
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190509/8246fccb/attachment-0001.html>


More information about the notifications mailing list