Closed fred-r closed 2 years ago
In the current version, all macros go in the same defines space. I would like to define several macros spaces.
Something like:
importfolder c:\Temp1 my_space1 : my_space_1 created if it does not exist importfolder c:\Temp2 my_space2 : my_space_2 created if it does not exist
Then I can do evaluations in each macros space.
Also, I'd like to add elements into an existing space:
importfile c:\Temp3\foo.h my_space1 importfolder c:\Temp4\ my_space1
Then for each command I indicate in which macros space I work.
Of course we need extra commands:
list spaces my_space1 my_space2 printsources my_space1 c:\Temp1 c:\Temp3\foo.h c:\Temp4 printsources my_space2 c:\Temp2
list spaces my_space1 my_space2
printsources my_space1 c:\Temp1 c:\Temp3\foo.h c:\Temp4
printsources my_space2 c:\Temp2
The feature is currently implemented on the main branch.
This feature has been released in v1.4.0 .
In the current version, all macros go in the same defines space. I would like to define several macros spaces.
Something like:
Then I can do evaluations in each macros space.
Also, I'd like to add elements into an existing space:
Then for each command I indicate in which macros space I work.
Of course we need extra commands: