lf-lang / lf-python-support Goto Github PK
View Code? Open in Web Editor NEWPython package for supporting code generated by the Lingua Franca compiler
License: Other
Python package for supporting code generated by the Lingua Franca compiler
License: Other
lf-python-support
or lf-py-lib
or something like thatIf the target language is Python, it is really easy to share the state variable as a pointer but not as value.
Here is an example of me incorrectly passing the pointer of a list to reactors.
Also, it will be better if the example here from the tutorial video can clarify the state value must not be pointer when share to downstream reactors.
It would be nice if we could simply write
print(f"Current tag is: {lf.tag()}")
and get a properly formatted output.
This would require implementing the __str__
method for the Tag type.
Lingua-Franca PR in question: lf-lang/lingua-franca#1348
It appears the latest version of Reactor-C-Py is breaking lingua-franca CI due to mismatch between const and non-const qualified functions/variables:
Would be good if someone familiar with this repo and reactor-c has a look at the CI errors and makes the changes to ensure matching signatures between reactor-c-py and reactor-c
The C target has a few useful user-facing APIs such as DEBUG_PRINT()
and error_print()
that will allow the user to add thread-safe print statements in the body of reactions. The output (or lack thereof) of these APIs can then be controlled using the logging
target specification.
This could be a very useful feature in the Python target as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.