Can we do compile time reading part of a file using import?

Jacob Carlborg doob at me.com
Sun Oct 25 12:16:36 UTC 2020


On 2020-10-23 18:42, data pulverizer wrote:

> For me it's not make-or-break, it just something very useful and I think 
> has clear use case. Please let me know if there are aspects or 
> alternatives I am missing.

You could always have the build tool split up the file in multiple 
smaller files and read one of the smaller files with the import expression.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list