User:Kululuzyx/Hot Soup Processor

Hot Soup Processor is a programming language from Japan that was originally developed in 1994. It was originally based on BASIC, but has diverged significantly from those roots over the years. It is freeware as of 1996, and now is open source (OpenHSP) under the BSD licenses. HSP is used to teach programming in Japanese schools, and because it is freeware, it was a popular programming language for doujin soft in the late 1990s.

Conception and debut of HSP2
In 1994, HSP's predecessor light soup processorwas developed on the PC-9800. The name SOUP processor originated and acronymized from s equential o utput c ontrol p rocessor: a text script interpreter for multi-purpose. Developed at Dartmouth College, even though HSP's format was based on BASIC, it's not compatible with it.

Development of HSP1.0 running on Windows 3.1 started in 1995, and in 1996 was made available to the public as Freeware. Onitama explained "Because I needed it, I created the software for me, so to speak".

In 1997, HSP2.0 was introduced and become 32 bit application that ran on Windows 95 and later. Constant and strings variables types were now supported. Later updates supported features for 3D drawings. HSP received the "Microsoft DXSD Award" in 1999 and the 2001 "1st place Online Software Award ". In 2005 the Japan's Ministry of Economy Trade and Industry's (also known by METI), supported IT craftmanship project adopted education and training in HSP as apart of its curriculum. Note that HSP2.61 was developed and compiled using Visual Studio .NET 2003.

Debut of HSP3
On August 1st, 2005, HSP 3 was introduced. Windows 98 or later is now required for the OS. The grammar system was reviewed, compatibility for the Windows platform was improved, and some of the formatting was changed to be incompatible with the previous HSP2.x series. (See #Language Specifications for details.)

2 years from HSP 3.0's release in 2007, HSP 3.1 was released. improvements Included: HSP script editor's improved functionality, addition of a new plugin module, peas editor and script input entry through easy input functionality, HSPLet's standard support for operation on java runtime, and an open source code license form revision (BSD licenses).

On September 13th, 2011, HSP 3.3 was introduced. supplies HSPDish,a runtime package. Execution can now run on IOS or Android through conversion. In addition, hsp3cnv was included as a tool to change HSP3's code to other sources, officially allowing conversion to C++.

From HSP3's debut, the portal site HSPTV! was offered as a place for HSP3 user communication. In addition, HSPTV! is also attempting to recruit CGI programmers to the site. Every year from 2003, the HSP programming contest is held. At 2013's contest, NicoNico's self made game fest and works mutual offering was sponsored.

Features
HSP is a procedural language and is designed as a programming tool for intermediate language interpreters. It is officially "a programming language that even children can understand", and a manual for the younger ages (such as elementary school students) has been published.

Window creation and control is performed automatically without the need for users to write scripts or configure the development environment. The console version of HSP (HSPCL) can be used to develop programs that run on a command prompt. At the end of the last line of the script, execution stops at that point and the program does not automatically end.

Although it is intended for use on Windows, there is also an official HSP/Mac port to Mac OS. It has been unofficially ported to Linux by volunteers, but the ported version is based on an older version than the Windows version. However, on April 1, 2018, HSP3 for Linux/Raspberry Pi, which officially claims to support Raspberry Pi and Linux, was released, and it has been announced that the Windows version will conform to this version in the future.

Language specifications and features
The main features of HSP3.x regarding the language specification (which the user actually inputs) are as follows.


 * Very brief and simple syntax, ideal for beginning programmers
 * can use standard BASIC syntax as well as its own proprietary syntax
 * no line numbering
 * non-case-sensitive
 * Variables and labels can be separated in a name space isolated from others
 * Variables do not require prior definition for use (all variables are automatically global or defined in-module)
 * Japanese (2-byte characters) can be used for variable names.
 * Originally designed to compile Windows executables, but Mac Classic and Linux ports exist as well, and compiling to .com files is also possible
 * Can use Windows DLLs and Windows API
 * DLLs can be used as plug-ins to take advantage of various Windows functions, including those for handling 3D graphics such as DirectX and OpenGL.
 * includes a preprocessor
 * Subroutines can be written separately using labels.

Script Editor
HSP comes with a dedicated script editor. In addition to having the functionality of a general text editor, it also has its own functions such as compiling and calling external tools. Multiple files can be viewed and edited in the same window using tabs. There is no concept of project files. Footy is used in the editor's engine.

It can be output in EXE format, but file icon change requires dedicated software such as "Let's HSPIC!" And "Sato Icon Changer". since HSP3.5 (to be exact, from 3.5 beta6), an icon rewriting function has been added as a standard feature, and icons can be changed by using the #packopt instruction.

The current latest version of HSP3.X resources are not a common standard with HSP2.X resources; thereby general resource editors as well as modification software created for HSP2.X other than the aforementioned software will break files.

It is also possible to develop in an external editor by using a compilation tool.

Peas Editor
Peas is an authoring tool for automatically generating HSP scripts by arranging and wiring what are called parts (elements) with the mouse. It has been packaged since HSP3.1.

It is a new option for beginners with little or no prior programming experience, but is not intended for all work to be done in the Peas editor.

Users may also produce their own parts.

HSP Document Library (HDL)
HDL is a dedicated browser for searching and viewing related documents bundled with HSP.

Documents and sample scripts can be searched and displayed. Users can add new documents themselves, and an editor is included to edit and create their own format document files. The software is developed by sprocket and has been bundled as HSP HELP Browser since HSP3.0, and has the same name since HSP3.2.

Documents and sample scripts can be searched and displayed. Users can add new documents themselves, and an editor is included to edit and create their own format document files.

HDL can read and display files with hs (HDL command help), html, txt, hsp, and as (HSP header file) extensions

Example code
mes "Hello World!" stop