Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
mirashii
1y ago
0 comments
Save
Share
Now you need a general purpose embedded language interpreter to express your filter lambda? I'm not sure you've really made anything simpler.
0 comments
3 comments · 1 top-level
top
newest
oldest
rowanG077
1y ago
· 2 in thread
I don't see why you want an embedded interpreter for this. Can you explain?
tempodox
1y ago
If you give a lambda to cargo-watch instead of a regexp, it has to be evaluated. Hence interpreter.
rowanG077
1y ago
Why would you evaluate it using an interpreter? Since you are using it in the context of a rust lambda you compile it. You just have a rust file that calls cargo-watch as a library. Crafting an interpreter seems like an incredibly bad idea.
1 more reply
j
/
k
navigate · click thread line to collapse