Plus is a programming language created in 1976.
#1390on PLDB | 48Years Old |
Plus is a "Pascal-like" system implementation language from the University of British Columbia (UBC), Canada, based on the SUE system language developed at the University of Toronto, c. 1971.There is another programming language named PLUS, developed at Sperry Univac in Roseville, Minnesota, but the Univac PLUS is not the subject of this article.. Read more on Wikipedia...
%Title := "Hello world";
%Include(Pluslist);
%Subtitle := "Definitions";
%Lower_Case := True;
/* Definitions that everyone needs */
%Include(Boolean, Numeric_Types, More_Numeric_Types, String_Types,
More_String_Types);
/* A tasteful subset of procedure definitions */
%Include(Main);
/* Message routine definitions */
%Include(Message_Initialize, Message, Message_Terminate);
%Subtitle := "Local Procedure Definitions";
%Eject();
definition Main
variable Mcb is pointer to Stream_Type;
Mcb := Message_Initialize();
Message(Mcb, "Hello, world!");
Message_Terminate(Mcb);
Mcb := Null;
end Main;
Feature | Supported | Example | Token |
---|---|---|---|
Strings | ✓ | "Hello world" | " |
Comments | ✓ | /* A comment */ | |
MultiLine Comments | ✓ | /* A comment */ | /* */ |
Semantic Indentation | X |