4 ms·
Sometimes you need to embed an expression interpreter in your application, for example to allow users to define them at runtime. In cases like that one, having
by mvaliente2001 5y ago
Sometimes you need to embed an expression interpreter in your application, for example to allow users to define them at runtime. In cases like that one, having a library with a well defined specification could save a lot of time.
- 0xFACEFEED 5y agoIt's much more likely that the library would do more harm than good. Libraries tend to cover broader spectrum of use cases than you'd need. Usually that's okay (eg: URL parsing, string manipulation, HTTP client, etc) but in cases like this the logic schema should be as absolutely minimal as possible. If you're building an interpreter and need an interchangeable format then you can always generate that out of your own bespoke and very constrained format.