Visual programming language

Source: Wikipedia, the free encyclopedia.
A simple custom block in the Snap! visual programming language, which is based on Scratch, calculating the sum of all numbers with values between a and b

In computing, a visual programming language (visual programming system, VPL, or, VPS), also known as diagrammatic programming,[1][2] graphical programming or block coding, is a programming language that lets users create programs by manipulating program elements graphically rather than by specifying them textually.[3] A VPL allows programming with visual expressions, spatial arrangements of text and graphic symbols, used either as elements of syntax or secondary notation. For example, many VPLs are based on the idea of "boxes and arrows", where boxes or other screen objects are treated as entities, connected by arrows, lines or arcs which represent relations. VPLs are generally the basis of Low-code development platforms.

Definition

VPLs may be further classified, according to the type and extent of visual expression used, into icon-based languages, form-based languages, and diagram languages. Visual programming environments provide graphical or iconic elements which can be manipulated by users in an interactive way according to some specific spatial grammar for program construction.

The general goal of VPLs is to make programming more accessible to novices and to support programmers at three different levels[4]

Syntax
VPLs use icons/blocks, forms and diagrams trying to reduce or even eliminate the potential of syntactic errors helping with the arrangement of programming primitives to create well-formed programs.
Semantics
VPLs may provide some mechanisms to disclose the meaning of programming primitives. This could include help functions providing documentation functions built-in to programming languages.
Pragmatics
VPLs support the study of what programs mean in particular situations. This level of support allows users to put artifacts created with a VPL into a certain state in order to explore how the program will react to that state. Examples: In AgentSheets or AgentCubes users can set games or simulations into a particular state in order to see how program would react. With the Thymio programming language users can bring a robot into a certain state in order to see how it will react, i.e., which sensors will be activated.

As of 2005, current developments try to integrate the visual programming approach with

program state, resulting in online debugging, or automatic program generation and documentation. Dataflow languages also allow automatic parallelization, which is likely to become one of the greatest programming challenges of the future.[5]

The

form designer
and sometimes also have graphical tools to illustrate (but not define) control flow and data dependencies.

Types of visual languages

The following list is not mutually exclusive, as some visual programming environments may incorporate elements from multiple paradigms. The choice of visual programming paradigm often depends on the specific requirements of the application or the preferences of the users or the developers.

Block-based programming
Popularized by platforms like Scratch and Blockly, used in educational settings and for introductory programming.
Flowcharts
Widely used in software engineering and systems design for representing algorithms and processes.
Drag-and-drop interfaces
Commonly used in GUI design tools and development environments for creating user interfaces.
Node graphs
Frequently used in visual programming languages, game development, and dataflow systems.
Dataflow programming
Popular in parallel computing, signal processing, and visual programming environments.
Iconic programming
Used in various contexts for simplifying programming tasks, often associated with mobile app development.
State machines
Widely employed in game development, control systems, and modeling reactive systems.
Sheet-based programming
Found in spreadsheet applications and certain educational programming environments.
Timeline-based programming
Common in multimedia and animation software for sequencing events over time.
Spatial programming
Applied in certain interactive and 3D modeling environments.
Form-based programming
Used in applications where user input and graphical interfaces play a significant role, such as data entry applications.

General-purpose visual languages

Ring Virtual Machine (VM) implementation using the PWCT visual programming language

Most of the VPLs are designed for education or domain-specific usage where is the target users are novice programmers. But there are some research projects try to provide a general-purpose visual programming language that can be used by mainstream programmers in any software project instead of using textual programming languages like (C, C++, Java, etc.).

For example, research projects such as Envision [8][9] and PWCT[10] are designed to achieve this goal. It's common for a VPL to be developed using a textual programming language. Developing general-purpose VPLs allows the other way around. For example, a new textual programming language Compiler and Virtual Machine is developed using visual programming in 2016.[11]

List of visual languages

The following contains a list of notable visual programming languages.

Educational

  • AgentCubes, 3D and 2D game design and simulation design computational thinking tools.
  • AgentSheets, game authoring and computational science authoring tool.
  • Alice, an object based language used to program 3D environments.
  • Analytica, for building and analyzing quantitative models for decision and risk analysis.
  • App Inventor for Android, a tool for creating Android applications, based on Blockly and Kawa
    .
  • Blockly, a client-side library for the programming language JavaScript for creating block-based visual programming languages (VPLs) and editors. Blockly is known for its use on Scratch.
  • Bubble, for creating production-ready web applications.
  • Catrobat, block-based visual programming language for animations, apps and games
  • Etoys, developed under the direction of Alan Kay at Disney to support constructionist learning, influenced by Seymour Papert and the Logo programming language
  • Flowcode, a visual programming tool for embedded microcontrollers and Windows.
  • Flowgorithm
    , creates executable flowcharts which can be converted to several languages.
  • Greenfoot, an IDE for Java or Stride primarily designed for educational purposes, as well as for GUI and game development
  • Hopscotch, an iPad app, and visual programming language for creating touchscreen-oriented mobile applications.
  • Kodu, a visual programming tool for Logo.
  • Kojo, a programming language, IDE, and learning environment.
  • mBlock, an extension of Scratch for Arduino hardware interfaces. Developed by Makeblock
    .
  • Open Roberta, online programming environment from Fraunhofer IAIS, designed for children.
  • Pencil Code, a visual programming language centered on drawing with a pencil
  • USAF
    , for drawing executable flowcharts.
  • MIT
    , designed for children in K-12 and after-school programs.
  • ScratchJr, an interpretation of Scratch designed primarily for younger audiences (5-7-year-old children).
  • UC Berkeley
    .
  • Stagecast Creator, a Java-based teaching system.
  • dialect of Lisp
    ).
  • ToonTalk, programming system for children.
  • Visual Logic
    , for creating executable flowcharts.
  • VIPLE Visual IoT/Robotics Programming Language Environment

Multimedia

Video games

  • Babylon.js has a node material editor that can be used to build shaders, procedural textures, particle systems and post processing effects.[18]
  • Blender Game Engine (Graphical logic editor)
  • Buildbox
  • Clickteam Fusion, a 2D game creation software with event editor system, developed by Clickteam SARL, originally known as Klik n' Play, The Games Factory and Multimedia Fusion 2
  • Construct 2-3 are HTML5-based 2D game editors, developed by Scirra Ltd.
  • CryEngine has a node-based visual programming language called FlowGraph.
  • Dreams, which runs on PlayStation, has an extensive visual language to allow players to create any kind of game
  • Game Builder Garage, a 3D and 2D game creation tool for the Nintendo Switch, developed by Nintendo.
  • GameMaker Studio
    , has a drag-and-drop game creation system developed by YoYo Games.
  • GameSalad is a visual game creation tool developed by GameSalad, Inc.
  • GDevelop is a visual game creation tool created by Florian Rival (4ian).
  • Godot game engine allows game scripts and graphics shaders to be built using node-graph visual programming languages.
  • Human Resource Machine is a visual programming-based puzzle game developed by Tomorrow Corporation.
  • Kodu
    , a software designed to program games with a 3D interface developed by Microsoft Research.
  • MakeCode Arcade, by Microsoft
  • Pixel Game Maker MV is an interface-based 2D video game development tool.
  • Rec Room includes a game creation system with a node-based visual programming language called Circuits.
  • Snowdrop has a visual scripting system.
  • Stencyl, a video game creation tool.
  • Unity has a visual scripting system as of the ECS release.
  • Unreal Engine 4 has a node-based visual programming language called Blueprints, and also shaders.

Many modern video games make use of

model behaviors for non-player characters
. The behaviors are modeled as trees, and are often edited in graphical editors.

Systems / simulation

Automation

Data warehousing / business intelligence

Miscellaneous

  • Cube, an esolang to emulate a 3D cube via a 2D text interface "Cube".
  • Kwikpoint, an isotype visual translator created by Alan Stillman
  • RAD
    language
  • Morphic (software), makes it easier to build and edit graphical objects by direct manipulation and from within programs; the whole Self (programming language) programming environment is built using Morphic
  • Piet
    , an esoteric language, the program is an image whose pixels are the language's elements
  • PWCT, Free open source visual programming language for software development
  • Pygmalion, a creative programming environment developed in 1975 by DARPA based on human communication and systems design
  • Shortcuts, a visual scripting language developed by Apple for creating macros on macOS, iOS, iPadOS, and watchOS
    .
  • StreamBase Systems
    , StreamBase EventFlow is a visual programming language for processing streaming events
  • WebML, is a visual language for designing complex data-intensive Web applications that can be automatically generated
  • Yahoo! Pipes is a visual data-flow programming system to process web data[21]
  • YAWL, graphical workflow language

Legacy

Visual styles

See also

References

  1. S2CID 62509261
    .
  2. .
  3. .
  4. .
  5. . Retrieved 2011-02-16.
  6. .
  7. .
  8. ^ Asenov, D. and Muller, P., 2014, July. Envision: A fast and flexible visual code editor with fluid interactions (overview). In 2014 IEEE Symposium on Visual Languages and Human-Centric Computing (VL/HCC) (pp. 9-12). IEEE.
  9. ^ "Envision".
  10. ^ Fayed, M.S., Al-Qurishi, M., Alamri, A., Hossain, M.A. and Al-Daraiseh, A.A., 2020. PWCT: a novel general-purpose visual programming language in support of pervasive application development. CCF Transactions on Pervasive Computing and Interaction, 2, pp.164-177.
  11. ^ Ayouni, M., 2020. Beginning Ring programming (Vol. 978, No. 1, pp. 4842-5832). Apress.
  12. ^ http://www.computermusicjournal.org/reviews/31-* * * 2/regan-bidule.html
  13. ^ "Shader Editor — Blender Manual". docs.blender.org. Retrieved 2021-01-22.
  14. ^ "Compositing — Blender Manual". docs.blender.org. Retrieved 2021-01-22.
  15. ^ "Texture Editing — Blender Manual". docs.blender.org. Retrieved 2021-01-22.
  16. ^ "Reference/Release Notes/2.92/Geometry Nodes - Blender Developer Wiki". wiki.blender.org. Retrieved 2021-01-22.
  17. ^ "Geometry Nodes — Blender Manual". docs.blender.org. Retrieved 2021-10-02.
  18. ^ "Babylon.js Node Material Editor". nme.babylonjs.com. Retrieved 2021-01-22.
  19. ^ Construct Classic home page
  20. ^ Construct Classic page on SourceForge
  21. ^ "Yahoo! pipes". Archived from the original on 2015-01-03. Retrieved 2015-01-03.

External links