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

Jack jckj33 at gmail.com
Sun Oct 25 16:50:09 UTC 2020


On Sunday, 25 October 2020 at 12:16:36 UTC, Jacob Carlborg wrote:
> 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.

Which build tool are you refering to? an existing one or build 
one oneself to do this job?


More information about the Digitalmars-d-learn mailing list