Blue (Programming Language)
| Developer | Stephen (Last name not provided due to privacy reasons) |
|---|---|
| First appeared | 2022 |
| Typing discipline | Dynamic |
| Implementation language | Haxe |
| OS | Windows |
| License | GPL 3.0 |
| Filename extensions | .bl |
| Website | https://magnumsrt.github.io/Blue-Public/ |
| Influenced by | |
| Haxe, Lua | |
Search Blue (Programming Language) on Amazon.
History
Blue is an open source, dynamically typed, compiled, object oriented programming language. Its compiler was released to the public on GitHub under the GNU General Public License version 3, on June 8, 2022. Blue's development started four months prior as a side project worked on by online developer, Stephen, who is also known on the internet for creating various video game modifications and tools.
Compilation
Blue was written in Haxe, and as such, can be compiled to any target Haxe supports.
Blue follows the compilation process provided; it first performs lexical analysis on a string of expressions, it then takes the tokens provided by the compiler's lexer, and constructs an abstract syntax tree, which is then picked apart and used to construct a Haxe file. The compiler then runs a command to compile the folder of Haxe files into an executable program.
The command used to build the Haxe files outputted by the Blue compiler can be changed using the "BuildCommand" compiler tag (Documented at: https://github.com/Magnumsrt/Blue-Public/wiki/Compiler-tags).
Supported Code editors
The IDE officially recommended by the Blue developer is currently Notepad++, but will most likely change after Blue's Visual Studio Code extension is finished being developed.
Syntax
Blue's syntax is similar to Lua's, with array indexes starting at "1" instead of "0", and using the "end" keyword to end loops, functions and 'if' statements. Blue still contains eight more keywords than Lua.
Presentation
Blue is advertised as an easy starting point for aspiring programmers who need an object oriented, compiled language, with an easy to use syntax. Its logo is a blue square with deformed edges and a blank circle in the middle.
Typing
Blue is a dynamically typed language with no trailing semicolons.
Trivia
- Blue was originally supposed to be called 'Maple', but this idea was scrapped because of the existence of the Javascript framework, Redwood, the language was then named 'Blue' as this is the developer's favourite colour. - Blue was originally going to be interpreted instead of compiled. - Blue was originally going to be compiled to Assembly, but this idea was eventually scrapped because of the countless benefits for users that came with compiling to Haxe, although, this may be pursued in the future.
References
"Haxe's wikipedia page". "Python's website".
This article "Blue (Programming Language)" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Blue (Programming Language). Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.
