The Implementation of Simple Smart Contract Language and Its Compiler Based on Ethereum Platform
Han-Wen Yin, Yun Pan, Han Jiang · 2020
Compiling technology is an important technology in computer science. It is of great practical significance to create a language and implement its compiler. At the same time, with the rise of blockchain technology in recent years, smart contracts reappear in people's vision, and the combination of the two has great potential. The typical smart Contract languages, such as Solidity and LLL, have complex syntax and are not easy for beginners to learn and use. This paper introduces the process of making a simple smart contract language that is easy for beginners to learn. The whole process includes from language design to intermediate code execution. The compiler uses Python as the programming language, and the target running platform is Ethereum virtual machine. At the end of this paper, a demonstration example is shown.