Code Monkey home page Code Monkey logo

convertgroovytonodejs's Introduction

ConvertGroovyToNodeJS

A converter tool (ConvertGroovyToNodeJS.ipynb) which is available to convert Groovy SmartApps into Node.js SmartApps. Currently, our tool can translate the fixed-format parts of Groovy SmartApps, such as definition/preference blocks, subscription/schedule functions, and device commands. To use the tool, the original Groovy SmartApps must first be translated into Standard Format Groovy source code using the AstNodeToScriptVisitor class of the Groovy-console package. We tested our tool on the SmartAppZoo dataset, and the Results folder contains the converted SmartApps. Our tool accurately converted approximately 50 simple apps. We need the help of the community to improve the converter tool by enabling it to translate the other user-defined functions of the Groovy SmartApps into the equivalent functions in Node.js. This will require collaborative efforts and contributions from the research community to enhance the capabilities of our tool. We invite researchers and practitioners to contribute to this project.

Citing this work

@inproceedings{SmartAppZoo,
title = {Poster Abstract: SmartAppZoo: A Repository of SmartThings Apps for IoT Benchmarking},
author = {Wang, Zhaohui and Luo, Bo and Li, Fengjun},
booktitle = {Proceedings of the 8th ACM/IEEE Conference on Internet of Things Design and Implementation},
year = {2023},
location = {San Antonio, TX, USA},
pages = {448โ€“449},
series = {IoTDI '23}
}

Warning

When visiting the Results folder via a browser, you may receive the following warning:

Sorry, we had to truncate this directory to 1,000 files. 2,526 entries were omitted from the list.

This is a common practice on Github. Github limits the number of files that can be listed in the webview to 1000. The warning only appears when using a browser, but you can still fork, clone, or download the repository without issues.

Contributing

We welcome submissions of issues and pull requests. we need the help of the community to improve and perfect the tool.

convertgroovytonodejs's People

Contributors

smartappzoo avatar

Watchers

Kostas Georgiou avatar  avatar

Forkers

samadanc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.