跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2302.03927 (cs)
[提交于 2023年12月25日]

标题:On the Applicability of Language Models to Block-Based Programs

作者:Elisabeth Griebl, Benedikt Fein, Florian Obermüller, Gordon Fraser, René Just
查看论文《On the Applicability of Language Models to Block-Based Programs》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Block-based programming languages like Scratch are increasingly popular for programming education and end-user programming. Recent program analyses build on the insight that source code can be modelled using techniques from natural language processing. Many of the regularities of source code that support this approach are due to the syntactic overhead imposed by textual programming languages. This syntactic overhead, however, is precisely what block-based languages remove in order to simplify programming. Consequently, it is unclear how well this modelling approach performs on block-based programming languages. In this paper, we investigate the applicability of language models for the popular block-based programming language Scratch. We model Scratch programs using n-gram models, the most essential type of language model, and transformers, a popular deep learning model. Evaluation on the example tasks of code completion and bug finding confirm that blocks inhibit predictability, but the use of language models is nevertheless feasible. Our findings serve as foundation for improving tooling and analyses for block-based languages.
评论: To appear at the 45th IEEE/ACM International Conference on Software Engineering (ICSE'2023)
主题: 程序设计语言 (cs.PL); 软件工程 (cs.SE)
引用方式: arXiv:2302.03927 [cs.PL]
  (或者 arXiv:2302.03927v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2302.03927
相关 DOI: https://doi.org/10.1109/ICSE48619.2023.00199

提交历史

来自:Gordon Fraser
[v1] 2023年12月25日 星期一 00:00:00 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-12
切换浏览方式为:
cs
cs.SE

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站