tzbob / scala-iot-modules-for-frp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FRP Modules for IoT in Scala

This is a work-in-progress solution for sensor network application maintainability problems in the form of a Scala embedded domain specific language (EDSL). We base ourselves on existing solutions such as functional reactive programming (FRP) and what is known as macro-programming in the domain of sensor networks: programming a distributed sensor networks application as a single program using distribution and communication primitives.

Try it!

Install SBT

Please follow the install guide on the official scala-sbt.org website.

Compile an example

git clone https://github.com/Tzbob/scala-iot-modules-for-frp.git
cd scala-iot-modules-for-frp
sbt "run-main be.kuleuven.Applications.SimplifiedParkingAppRunner"

The results of this compilation is now present in ./generated.

Navigating the codebase

  • Examples: src/main/scala/be/kuleuven/Applications
  • Core implementation: src/main/scala/be/kuleuven/FRP_EMBEDDED
  • Sancus extensions for LMS: src/main/scala/be/kuleuven/LMS_extensions

About


Languages

Language:C 50.9%Language:Scala 48.5%Language:Makefile 0.4%Language:C++ 0.2%