Unifying Event-based and Rule-based Styles to Develop Concurrent and Context-aware Reactive Applications - Toward a Convenient Support for Concurrent and Reactive Programming

Truong-Giang Le, Olivier Hermant, Matthieu Manceny, Renaud Pawlak, Renaud Rioboo

2012

Abstract

We propose a new programming language called INI, which combines both event-based and rule-based styles and is suitable for building concurrent and context-aware reactive applications. In our language, both events and rules can be defined intuitively and explicitly, in a stand-alone way or in combination. Events in INI can run in parallel in order to handle multiple tasks concurrently and may trigger actions defined in related rules. Besides, events can interact with the execution environment to adjust their behaviors if necessary and response to unpredicted changes. This makes INI a convenient language to write many kinds of programs which need to take advantages of concurrency and context-awareness, such as embedded software, interactive applications, sensors applications, robotic systems, etc.

References

  1. Baillie, J.-C., Demaille, A., Hocquet, Q., and Nottale, M. (2010). Events! (reactivity in Urbiscript). CoRR, abs/1010.5694.
  2. Cohen, N. H. and Kalleberg, K. T. (2008). EventScript: an event-processing language based on regular expressions with actions. In Proceedings of the 2008 ACM SIGPLAN-SIGBED conference on Languages, compilers, and tools for embedded systems, LCTES 7808, pages 111-120, New York, NY, USA. ACM.
  3. Daniele, L. M., Silva, E., Ferreira, L., and van, M. S. (2009). A SOA-based platform-specific framework for context-aware mobile applications. In Enterprise Interoperability, volume 38 of Lecture Notes in Business Information Processing, pages 25-37, Berlin Heidelberg. Springer Verlag.
  4. Dargie, W. (2009). Context-Aware Computing and SelfManaging Systems. Chapman & Hall/CRC, 1 edition.
  5. Giurca, A., Gasevic, D., and Taveter, K. (2009). Handbook of Research on Emerging Rule-based Languages and Technologies: Open Solutions and Approaches. IGI Publishing, Hershey, PA, USA.
  6. Le, T.-G. (2012). Ini Online. https://sites.google. com/site/inilanguage.
  7. Le, T.-G., Hermant, O., Manceny, M., and Pawlak, R. (2011). Dynamic adaptation through event reconfiguration. In Meersaman, R., Dillon, T., and Herrero, P., editors, On the Move to meaningful Internet Systems: OTM 2011 Workshops, volume 7046 of Lecture Notes in Computer Science. Springer.
  8. Loke, S. (2006). Context-Aware Pervasive Systems. Auerbach Publications, Boston, MA, USA.
  9. Mircea Marin, T. K. (2006). Foundations of the rule-based system pLog. Journal of Applied Non-Classical Logics, 16:151-168.
  10. Mühl, G., Fiege, L., and Pietzuch, P. (2006). Distributed Event-Based Systems. Springer-Verlag New York, Inc., Secaucus, NJ, USA.
  11. Robinson, J. A. (1965). A machine-oriented logic based on the resolution principle. J. ACM, 12(1):23-41.
  12. Sandén, B. (2011). Design of Multithreaded Software: The Entity-Life Modeling Approach. John Wiley & Sons.
  13. Schilit, B. and Theimer, M. (1994). Disseminating active map information to mobile hosts. IEEE Network, 8:22-32.
Download


Paper Citation


in Harvard Style

Le T., Hermant O., Manceny M., Pawlak R. and Rioboo R. (2012). Unifying Event-based and Rule-based Styles to Develop Concurrent and Context-aware Reactive Applications - Toward a Convenient Support for Concurrent and Reactive Programming . In Proceedings of the 7th International Conference on Software Paradigm Trends - Volume 1: ICSOFT, ISBN 978-989-8565-19-8, pages 347-350. DOI: 10.5220/0004081403470350


in Bibtex Style

@conference{icsoft12,
author={Truong-Giang Le and Olivier Hermant and Matthieu Manceny and Renaud Pawlak and Renaud Rioboo},
title={Unifying Event-based and Rule-based Styles to Develop Concurrent and Context-aware Reactive Applications - Toward a Convenient Support for Concurrent and Reactive Programming},
booktitle={Proceedings of the 7th International Conference on Software Paradigm Trends - Volume 1: ICSOFT,},
year={2012},
pages={347-350},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004081403470350},
isbn={978-989-8565-19-8},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 7th International Conference on Software Paradigm Trends - Volume 1: ICSOFT,
TI - Unifying Event-based and Rule-based Styles to Develop Concurrent and Context-aware Reactive Applications - Toward a Convenient Support for Concurrent and Reactive Programming
SN - 978-989-8565-19-8
AU - Le T.
AU - Hermant O.
AU - Manceny M.
AU - Pawlak R.
AU - Rioboo R.
PY - 2012
SP - 347
EP - 350
DO - 10.5220/0004081403470350