Hi.

I have a suggestion. Currently, cross-compilation is broken. The biggest
problem is the, imo overly clever use of RST (a formatting language) for
data. During the build, the C code is compiled, which outputs RST used to
build the documentation.

How about moving this into a language made for data rather than formatting?
So, with the data in JSON, the Python code will output C struct/array
initializers for the binary to use at runtime as well as the RST consumed
by the docs.

The goal is easy cross-compilation. A bonus is that building a standalone
configuration compiler would be easier if we ever wanna cross that bridge.

-- 
Per Buer
Varnish Software
_______________________________________________
vinyl-dev mailing list
[email protected]
https://vinyl-cache.org/lists/mailman/listinfo/vinyl-dev

Reply via email to