首页> 外文会议>2017 IEEE Blocks and Beyond Workshop >An AST-based interface for composing and editing javascript on the phone
【24h】

An AST-based interface for composing and editing javascript on the phone

机译:基于AST的界面,用于在手机上编写和编辑JavaScript

获取原文
获取原文并翻译 | 示例

摘要

Grasshopper is an Android application which teaches people JavaScript through a series of coding puzzles. As part of this application, we developed an AST-based JavaScript editor for the phone. The visual representation of the code is built using the AST as the source of truth, and user actions modify the AST rather than a code string, much like a block code editor. At the same time, we style this visual representation to look as similar as possible to syntax-highlighted, formatted JavaScript code in a text based editor. This paper outlines the system, the reasoning behind this design, and some early observations from users interacting with it.
机译:Grasshopper是一个Android应用程序,可通过一系列编码难题来教人们JavaScript。作为此应用程序的一部分,我们为手机开发了基于AST的JavaScript编辑器。代码的视觉表示是使用AST作为真相的源来构建的,并且用户操作会修改AST而不是代码字符串,就像块代码编辑器一样。同时,在基于文本的编辑器中,我们将这种视觉表示的样式设置为与语法突出显示的格式化JavaScript代码尽可能相似。本文概述了该系统,该设计背后的原因以及与之交互的用户的一些早期观察。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号