Phrogram (formerly known as Kid’s Programming Language or KPL ) is a computer programming language designed to be understandable and accessible for beginners and children. The first version was released in August 2005. The current version 2, designed and published by Morrison Schwartz Inc., was released in May 2007.
Phrogram is a procedural programming language with some similarities with Visual Basic . Phrogram source codes can also be automatically ported to VB.NET or C # via a particular IDE . The language manages many data of type: scalar or complex , including their structures.
Phrogram is currently supported only by Windows operating systems , from Windows 2000 .
A program in Phrogram is in the form of blocks nested in one another.
Phrogram is organized as a single block, where the blocks of methods and functions are defined. The said functions and methods in KPL are reusable. Functions always return a value, while methods do not necessarily return. Data structures are defined through the Program scope . The variables must be defined and typed at the time of their declaration.
The language is closely related to Microsoft Framework .NET , and provides many functions and runtime methods to communicate with this platform. The ease of bringing the Phrogram into other .NET languages led Microsoft to announce Phrogram as the successor to the Visual Basic [ref. Required] . The company that distributes the language ( Morrison-Schwartz ), is partly owned by Jon Schwartz , a former program manager for Microsoft.
Bonjour Monde! In KPL
Program Hello_World Method Main () PrintLine ("Hello, World") End Method End Program
Graphics in KPL
The KPL is a language far from machine language. To create a game for example, KPL has a graphical library of manipulation of sprites . A large number of image formats are supported, only 65 images are supplied by default with KPL.
A succinct 3D engine is also available.
Jonah Stagner began the development of KPL when he wanted to teach his children the programming, unsatisfied with the solutions available. Therefore, Jon Schwartz and Walt Morrison took over the project.
The primary goal of KPL was to create a new language to make fun and small programs. Phrogram immediately attracted the interest of novices thanks to the ease of writing programs with attractive interfaces, music and animations. The second goal of Phrogram is to provide a new language with some recipes from large languages (such as C ++ , Java , Visual Basic or C # ) and syntax similar to Visual Basic to allow for a change to these languages as easily as possible .
In 2007, version 2 was created, and the renamed Phrogram. It is based on the second version of the .NET Framework . Phrogram claims to be fully compatible with other languages that use the .NET Framework, so compiled libraries can be used by .NET applications, and vice versa. It supports Object-Oriented Programming (OOP), allowing the definition of classes, their properties and associated methods, which gives beginners an introduction to Object Oriented Programming.
The Phrogram User Interface is available in 18 languages: English, Spanish, Russian, Chinese, German, French, Italian, Dutch, Swedish, Thai, Greek, Polish, Romanian, Norwegian, Portuguese, Danish, Czech and Catalan. All translations of English were made by volunteers and the company continues to encourage them to continue translations.
Although the KPL was created for 8-14 year olds (hence the name Kid’s Programming Language), it is suitable for beginners in programming of any age, which is why the name has changed. It is currently used by older people who have downloaded it for themselves rather than for their children or pupils. Phrogram is offered for the first programming courses at all school levels and is used or has been used by colleges, lycées and universities in several countries, such as the United States, Great Britain, Canada, Mexico, Colombia , Russia, Iceland, Sweden, the Czech Republic, Slovakia, Portugal, Brazil, China, Guam, the Philippines and New Zealand.
Version 2 of the KPL was realized and renamed Phrogram, maintained by The Phrogram Company on the site of the same name, then Phrogsoft, LLC.
The development environment, which includes the compiler, is proprietary and sold in multiple versions and add-ons.