This study is an attempt to evaluate the compliance problem regarding the current status of the establishment of agreed‐upon interfaces for tokens, which are the most important type of applications of the Ethereum blockchain. The authors analysed the existing application programming interface standard interface called Ethereum Request for Comment 20 (ERC‐20), proposed functional ERC‐20 specifications, and evaluated the real‐world token smart contracts that have been deployed and used for transactions on a blockchain. For the evaluation, the authors developed an automatic tool with a test suite based on the proposed functional specifications. The authors' experiment revealed that no top‐100 market capitalization token smart contracts turned out to agree perfectly based on the functional specifications. In addition, the authors found the de facto standard behaviour deduced through testing with the functional specifications and suggested a possible countermeasure for the compliance problem in dealing with multiple tokens together.
This paper introduces a novel text-based syntax completion method that generates a sorted list of syntactic structure candidates for program writing. To date, no existing methods for syntax structure completion have offered candidates with accompanying rank information. We developed two key algorithms using LR parsing: one for collecting and ranking candidates, and another for querying them. With these algorithms, we gathered ranked candidates from SmallBasic programs in its community and from C11 programs in open-source software. We then assessed their effectiveness in code completion using Microsoft SmallBasic tutorial programs and the exercises from Kernighan and Ritchie's C programming language book. Our findings revealed that the top ranked candidate is frequently the correct choice. Furthermore, in over 96% of the cases, the correct completion is within the top 10 ranked candidates. This indicates the value of the collected rank information, assisting users in candidate selection during introductory programming tasks. Moreover, our method exhibits language-parametric characteristics; it can be applied to any programming language with syntax defined by an LR grammar.
Home Assistant is a widely used smart home automation platform, but creating and maintaining YAML-based automations remains difficult for non-experts. This paper presents HA-SmartBlock, an Event–Condition–Action (ECA)-based visual editor for Home Assistant automations. HA-SmartBlock provides bidirectional transformation between visual blocks and YAML, enabling both automation authoring and reconstruction of existing automations. A fail-open Raw block mechanism preserves unsupported constructs for lossless editing, while dynamic mutator-based block definitions support diverse services without excessive block proliferation. Integrated with Home Assistant, the tool supports retrieval, modification, and deployment of automations. Experiments on real-world automation datasets demonstrate its robustness and practical applicability.