ThePhD / future_cxx

Work done today for the glory of tomorrow - or, C and C++ systems programming papers.
https://thephd.dev/portfolio/standard
46 stars 8 forks source link

P1967 - #embed #29

Open ThePhD opened 4 years ago

ThePhD commented 4 years ago

#embed is a pre-processor directive for the inclusion of binary data into a program through implementation-defined resource lookup.

Latest draft is: https://thephd.github.io/vendor/future_cxx/papers/source/C%20-%20embed

ThePhD commented 4 years ago

I now have to figure out how

#embed [bits-per-element]opt [max-elements]opt header-name

can be done. Disambiguation of the numeric constant for bits-per-element versus max-elements means you cannot specify just one of them and have the preprocessor know which one...

ThePhD commented 3 years ago

This paper is on track. The next time it is seen it will just be

#embed [max-elements]opt header-name

It will always produce a comma-delimited sequence of unsigned char. Just need to update the paper now.

ThePhD commented 3 years ago

Posted: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2592.htm

Latest: https://thephd.github.io/vendor/future_cxx/papers/C%20-%20embed

ThePhD commented 3 years ago

The wording needed a lot of work, so we fixed it up quite a bit:

https://thephd.github.io/_vendor/future_cxx/papers/C%20-%20embed.html

ThePhD commented 3 years ago

C++: https://thephd.github.io/_vendor/future_cxx/papers/published/p1967r2.html

vegard commented 3 years ago

Not sure where to best put this, but I found this issue so I'll comment here. Comments apply to draft proposal of June 15, 2021.

When I refer to links that don't render correctly, this is the document I'm looking at: https://thephd.dev/_vendor/future_cxx/papers/d1967.html

ThePhD commented 3 years ago

Thanks for looking out; these have all been edited / fixed.

ThePhD commented 3 years ago

C++ paper has been split off into it's own thing. Which looks prettier because it uses bikeshed now:

https://thephd.dev/_vendor/future_cxx/papers/d1967.html

ThePhD commented 2 years ago

C++ and C papers have been properly split up. Wording is based on which link you travel:

https://thephd.dev/_vendor/future_cxx/papers/d1967.html https://thephd.dev/_vendor/future_cxx/papers/C%20-%20embed.html

ThePhD commented 2 years ago

Added to C23; only C++26 part left.

ThePhD commented 7 months ago

Submitted the latest for this: https://wg21.link/p1967r12