Comments (3)
The parser needs -pthread
option when linking on some platforms including Ubuntu.
Otherwise unittests are working for me. Could you run them with make test
and report the outcome in any case?
from reelay.
I run the unittests and they works fine. So I got through them and looked at the one about the quantifiers operators and it seems a data_manager
need to be set in the monitor's options to be able to parse the formula. I don't think it's told in the documentation, but I might have missed it... ^^'
The code of my first message can be fixed by adding :
auto manager = std::make_shared<reelay::binding_manager>();
auto options = reelay::dense_timed<time_t>::monitor<
input_type, output_type>::options().with_data_manager(manager);
I haven't check if the generated monitor run fine yet. But, I would advise to check in the methods make_monitor
of monitor.hpp if there is a data_manager
set in opt
when references are detected. If not, then print an error message advising to set it with the method with_data_manager()
. This might help other people that forgot to set it to understand what is happening.
To solve it in ryjson1, a simple (naive?) way might simply be to always set a data_manager
in the option of the monitor. However, I guess that it might have drawback on the performances when it's not needed. If so, maybe add a flag option to trigger it when needed or detect in the formula if a data_manager
is needed with a first parsing step.
Sorry to have bother you with this, and thanks for your quick answer :-)
from reelay.
After further tests, the monitor seems to work correctly. I noticed that the method update
of monitor using a quantifier operator return null
instead of [ ]
when the truth value remain the same. It should maybe be unified to avoid unexpected errors.
from reelay.
Related Issues (13)
- Latest Docker image doesn't recognize the "rymtl" command HOT 1
- can't find "reelay/recipes.hpp" HOT 2
- std::bad cast in python binding when using nested structure HOT 3
- Operator precedence for the PEG parser HOT 1
- Monitor formula to compare two data values HOT 2
- Links in the python getting started need updating
- Installing reelay on mac m1 HOT 1
- Automate Python releases using GitHub Actions HOT 1
- Python API design HOT 1
- Custom predicates from Python HOT 1
- Investigate compatibility with older standards HOT 1
- Pybind 2.4.3 and Clang and C++17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reelay.