A Module System for a General-Purpose Blocks Language

被引:0
|
作者
Ohshima, Yoshiki [1 ]
Moenig, Jens [2 ]
Maloney, John [1 ]
机构
[1] CDG, Atlanta, GA 30302 USA
[2] SAP Labs, CDG, Atlanta, GA USA
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Our team is developing GP, a new blocks language that aims to be beginner-friendly, like Scratch, yet capable of scaling up to support larger applications. We hope to allow a worldwide community of users to share projects, sprites, and code libraries and to create new ones using a mash-up development style. To support such easy sharing and reuse, GP incorporates a strong notion of modularity. Modularity allows components created by different users at different times to interoperate without worrying about conflicts. However, we do not want modularity to add to the burden of the beginning programmer; we'd like GP's module features to stay out of the way until they are needed. In this paper, we present the key ideas around the GP module system. A module in GP is a unit of encapsulated code and data. It exports a selected set of classes, functions, and variables, provides a namespace for the code inside, and may include private helper classes, functions, and variables. A module can also extend system classes with additional methods. Such extensions can be used freely within the module but are not visible outside it. Modules can be saved and re-loaded, allowing modules to store user-created projects, sprites, and code libraries.
引用
收藏
页码:39 / 44
页数:6
相关论文
共 50 条
  • [21] CDuce: An XML-centric general-purpose language
    Benzaken, V
    Castagna, G
    Frisch, A
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (09) : 51 - 63
  • [22] IMPLEMENTATION OF THE PROCESS INTERACTION APPROACH IN A GENERAL-PURPOSE LANGUAGE
    Veeke, Hans P. M.
    Ottjes, Jaap A.
    Lodewijks, Gabriel
    [J]. 6TH INTERNATIONAL INDUSTRIAL SIMULATION CONFERENCE 2008, 2008, : 65 - 70
  • [23] AN APPROACH TO COMPILER CONSTRUCTION FOR A GENERAL-PURPOSE SIMULATION LANGUAGE
    BABICH, VP
    BYLEV, AS
    [J]. CYBERNETICS AND SYSTEMS ANALYSIS, 1991, 27 (05) : 736 - 740
  • [24] A Novel Pretrained General-purpose Vision Language Model for the Vietnamese Language
    Dinh Anh Vu
    Quang Nhat Minh Pham
    Giang Son Tran
    [J]. ACM TRANSACTIONS ON ASIAN AND LOW-RESOURCE LANGUAGE INFORMATION PROCESSING, 2024, 23 (05)
  • [25] GPARS: a general-purpose activity recognition system
    Jehad Sarkar
    La The Vinh
    Young-Koo Lee
    Sungyoung Lee
    [J]. Applied Intelligence, 2011, 35 : 242 - 259
  • [26] GENERAL-PURPOSE SYSTEM GIVES POWER TO THE PRESS
    不详
    [J]. COMPUTER DECISIONS, 1981, 13 (02): : 98 - 98
  • [27] A general-purpose vision system for diverse robots
    Maekelae, Toni
    Tikanmaeki, Antti
    Roening, Juha
    [J]. PROCEEDINGS OF THE 13TH IASTED INTERNATIONAL CONFERENCE ON ROBOTICS AND APPLICATIONS/PROCEEDINGS OF THE IASTED INTERNATIONAL CONFERENCE ON TELEMATICS, 2007, : 281 - 286
  • [28] A general-purpose distributed pattern mining system
    Asma Belhadi
    Youcef Djenouri
    Jerry Chun-Wei Lin
    Alberto Cano
    [J]. Applied Intelligence, 2020, 50 : 2647 - 2662
  • [29] GENERAL-PURPOSE MODEL OF POWER SYSTEM LOADS
    SHACKSHAFT, G
    SYMONS, OC
    HADWICK, JG
    [J]. PROCEEDINGS OF THE INSTITUTION OF ELECTRICAL ENGINEERS-LONDON, 1977, 124 (08): : 715 - 723
  • [30] A GENERAL-PURPOSE DISPLAY PROCESSING AND TUTORIAL SYSTEM
    ENGVOLD, KJ
    HUGHES, JL
    [J]. COMMUNICATIONS OF THE ACM, 1968, 11 (10) : 697 - &