-
Hi, I am trying to write this generator:
And what I get, is: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Dictionaries are parsed by the interpreter first, since they are used as arguments to the function. The return value of the dictionary lookup is used as an input argument to the function. This is how most programming languages work. |
Beta Was this translation helpful? Give feedback.
-
So what would you suggest? So I am right that I only have 2 solutions Which of the above would you suggest, |
Beta Was this translation helpful? Give feedback.
-
I tried some work-arounds, but the |
Beta Was this translation helpful? Give feedback.
-
OK, I solved the problems by |
Beta Was this translation helpful? Give feedback.
I am generating lots of unrelated files.
There is a shell script that generates
them by the number. I.e.
gen.sh 100
generates the file number100 and dumps it to stdout, and the name
is assigned to it via dictionary.
This was done to improve parallel builds.
I can of course generate all files in 1 go.
But they go to entirely unrelated build
target chains, so I made them generated
on demand to not produce a stall point
for parallel builds.