Chat2Code: Towards conversational concrete syntax for model specification and code generation, the case of smart contracts

12/21/2021
by   Ilham Qasse, et al.
0

The revolutionary potential of automatic code generation tools based on Model-Driven Engineering (MDE) frameworks has yet to be realized. Beyond their ability to help software professionals write more accurate, reusable code, they could make programming accessible for a whole new class of non-technical users. However, non-technical users have been slow to embrace these tools. This may be because their concrete syntax is often patterned after the operations of textual or graphical interfaces. The interfaces are common, but users would need more extensive, precise and detailed knowledge of them than they can be assumed to have, to use them as concrete syntax. Conversational interfaces (chatbots) offer a much more accessible way for non-technical users to generate code. In this paper, we discuss the basic challenge of integrating conversational agents within Model-Driven Engineering (MDE) frameworks, then turn to look at a specific application: the auto-generation of smart contract code in multiple languages by non-technical users, based on conversational syntax. We demonstrate how this can be done, and evaluate our approach by conducting user experience survey to assess the usability and functionality of the chatbot framework.

READ FULL TEXT
research
03/16/2021

iContractBot: A Chatbot for Smart Contracts' Specification and Code Generation

Recently, Blockchain technology adoption has expanded to many applicatio...
research
02/14/2023

The Programmer's Assistant: Conversational Interaction with a Large Language Model for Software Development

Large language models (LLMs) have recently been applied in software engi...
research
06/11/2021

SolcTrans: Towards machine translation of Solidity smart contract source code

Context: Decentralized applications on blockchain platforms are realized...
research
03/16/2023

Smart Contract Generation for Inter-Organizational Process Collaboration

Currently, inter-organizational process collaboration (IOPC) has been wi...
research
07/18/2018

Conversation-Based Complex Event Management in Smart-Spaces

Smart space management can be done in many ways. On one hand, there are ...
research
03/10/2023

Watch the Gap: Making code more intelligible to users without sacrificing decentralization?

The potential for blockchain technology to eliminate the middleman and r...
research
06/21/2023

A Chain of AI-based Solutions for Resolving FQNs and Fixing Syntax Errors in Partial Code

API documentation, technical blogs and programming Q A sites contain n...

Please sign up or login with your details

Forgot password? Click here to reset