Jump to content
Wikipedia The Free Encyclopedia

Bosque (programming language)

From Wikipedia, the free encyclopedia
Programming language
Bosque
Paradigm Multi-paradigm: functional, typed language
Designed by Mark Marron
Developer Microsoft
First appearedMarch 3, 2019; 6 years ago (2019年03月03日)[1]
License MIT License
Filename extensions .bsq[2]
Websitewww.microsoft.com/en-us/research/project/bosque-programming-language/
Influenced by
JavaScript, TypeScript, ML

Bosque is a free and open-source programming language designed & developed by Microsoft that was inspired by the syntax and types of TypeScript and the semantics of ML and Node/JavaScript.[3] [4] Design goals for the language include better software quality and improved developer productivity.[5] [6]

Overview

[edit ]

Bosque was designed by Microsoft Research computer scientist Mark Marron,[7] who describes the language as an effort to move beyond the structured programming model that became popular in the 1970s.[3] [8]

The structured programming paradigm, in which flow control is managed with loops, conditionals, and subroutines, became popular after a 1968 paper titled "Go To Statement Considered Harmful" by computer scientist Edsger Dijkstra. Marron believes we can do better by getting rid of sources of complexity like loops, mutable state, and reference equality. The result is Bosque, which represents a programming paradigm that Marron, in a paper he wrote, calls "regularized programming."

The Bosque specification, parser, type checker, reference interpreter, and IDE support are licensed under MIT License and available on GitHub.[9]

Examples

[edit ]

Add two numbers

[edit ]
function add2(x: Int, y: Int): Int {
 return x + y;
}
add2(2, 3) // 5
add2(x=2, y=3) // 5
add2(y=2, 5) // 7

See also

[edit ]

References

[edit ]

Further reading

[edit ]
[edit ]
Overview
Software
Applications
Video games
Programming
languages
Frameworks,
development tools
Operating systems
Other
Licenses
Forges
Related
Microsoft development tools
Development
environments
Visual Studio
Others
Languages
APIs and
frameworks
Native
.NET
Device drivers
Database
SQL Server
SQL services
Other
Source control
Testing and
debugging
Delivery
Main
projects
Languages, compilers
Distributedgrid computing
Internet, networking
Other projects
Operating systems
APIs
Launched as products
MSR Labs
applied
research
Live Labs
Current
Discontinued
FUSE Labs
Other labs


Stub icon

This programming-language-related article is a stub. You can help Wikipedia by expanding it.

AltStyle によって変換されたページ (->オリジナル) /