Show HN: An expression parser supporting multiple types

This C library is part of a main project aimed at providing a reactive key-value (KV) database. The data is typed (numbers, strings, dates, or booleans) and can include formulas with references to other entries. Clients connected to this database receive a real-time data stream with updates to the subscribed keys, allowing them to react to changes and their dependencies. Essentially, it’s like building a distributed Excel, where data and formulas dynamically update across the system.

I couldn’t find any libraries that offered the full set of features I needed for evaluating expressions, so I decided to create my own.

This sub-project is open-source and available on GitHub. Feedback is welcome!


Comments URL: https://news.ycombinator.com/item?id=41635088

Points: 6

# Comments: 0

https://github.com/torrentg/expr

Created 6mo | Sep 24, 2024, 12:50:06 PM


Login to add comment