Visual Studio Code Extension and Auto-completion for Mizar Language

Hirota Taniguchi, Kazuhisa Nakasho
{"title":"Visual Studio Code Extension and Auto-completion for Mizar Language","authors":"Hirota Taniguchi, Kazuhisa Nakasho","doi":"10.1109/CANDAR53791.2021.00033","DOIUrl":null,"url":null,"abstract":"Until now, the editor extension for the Mizar language has been developed as an Emacs plugin. However, since Emacs is an old editor with characteristic key bindings, the number of users has decreased in recent years. For this reason, there is a growing interest in Visual Studio Code as an IDE for interactive theorem provers, and extensions for Lean, Coq, PVS have already been developed. We have developed a new extension for the Mizar language on Visual Studio Code. In this paper, we outline the implementation status of each function and then propose an auto-completion algorithm using n-gram. We measured the reduction rate of keystrokes and the prediction accuracy when 0 to 3 characters are input. As a result, we confirmed that the number of keystrokes can be reduced by 21% and that the correct answer rate within the proposed three candidates exceeds 80% when the user enters two characters. The advantages of our proposed auto-completion algorithm are its ease of implementation and high accuracy.","PeriodicalId":263773,"journal":{"name":"2021 Ninth International Symposium on Computing and Networking (CANDAR)","volume":"98 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 Ninth International Symposium on Computing and Networking (CANDAR)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CANDAR53791.2021.00033","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Until now, the editor extension for the Mizar language has been developed as an Emacs plugin. However, since Emacs is an old editor with characteristic key bindings, the number of users has decreased in recent years. For this reason, there is a growing interest in Visual Studio Code as an IDE for interactive theorem provers, and extensions for Lean, Coq, PVS have already been developed. We have developed a new extension for the Mizar language on Visual Studio Code. In this paper, we outline the implementation status of each function and then propose an auto-completion algorithm using n-gram. We measured the reduction rate of keystrokes and the prediction accuracy when 0 to 3 characters are input. As a result, we confirmed that the number of keystrokes can be reduced by 21% and that the correct answer rate within the proposed three candidates exceeds 80% when the user enters two characters. The advantages of our proposed auto-completion algorithm are its ease of implementation and high accuracy.
Visual Studio代码扩展和自动完成的语言
到目前为止,Mizar语言的编辑器扩展一直是作为Emacs插件开发的。但是,由于Emacs是一种具有特征键绑定的老编辑器,因此近年来用户数量有所减少。由于这个原因,人们对Visual Studio Code作为交互式定理证明的IDE越来越感兴趣,并且已经开发了Lean、Coq、PVS的扩展。我们在Visual Studio Code上为Mizar语言开发了一个新的扩展。在本文中,我们概述了每个函数的实现状态,然后提出了一个使用n-gram的自动补全算法。我们测量了输入0 ~ 3个字符时的击键减少率和预测精度。结果,我们确认,当用户输入两个字符时,击键次数可以减少21%,并且在建议的三个候选项中,正确率超过80%。本文提出的自动补全算法具有易于实现和精度高的优点。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信