You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deck.gl JSON styles support specifying expressions as strings: . "getPosition": "@=[x,y,z]"
We need a C++ parser for expressions. Ideally it can return both:
an evaluation function for row wise application,
as well as an AST (abstract syntax tree) so that we can apply the expression on columns or on GPU.
We also need to align the syntax with the JS expression parser in the @deck.gl/json module, but we could potentially make changes on the JS side as well if it makes more sense.
The text was updated successfully, but these errors were encountered:
Integrate a parser for mathematical expressions
A good start is probably: https://github.com/ArashPartow/math-parser-benchmark-project
Background
deck.gl JSON styles support specifying expressions as strings:
. "getPosition": "@=[x,y,z]"
We need a C++ parser for expressions. Ideally it can return both:
We also need to align the syntax with the JS expression parser in the
@deck.gl/json
module, but we could potentially make changes on the JS side as well if it makes more sense.The text was updated successfully, but these errors were encountered: