Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Bosque (programming language)

From Wikipedia, the free encyclopedia
Programming language

Bosque
ParadigmMulti-paradigm:functional,typed
FamilyECMAScript
Designed byMark Marron
DeveloperMicrosoft
First appearedMarch 3, 2019; 6 years ago (2019-03-03)[1]
LicenseMIT
Filename extensions.bsq[2]
Websitewww.microsoft.com/en-us/research/project/bosque-programming-language/
Influenced by
JavaScript,TypeScript,ML

Bosque is afree and open-sourceprogramming language designed and developed byMicrosoft that was inspired by thesyntax anddata types ofTypeScript and thesemantics ofML 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 byMicrosoft Research computer scientist Mark Marron,[7] who describes the language as an effort to move beyond thestructured 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 scientistEdsger Dijkstra. Marron believes we can do better by getting rid of sources of complexity likeloops, 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, andIDE support are licensed underMIT License and available onGitHub.[9]

Examples

[edit]

Add two numbers

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

See also

[edit]

References

[edit]
  1. ^"BosqueLanguage". Microsoft. March 3, 2019. RetrievedApril 29, 2019.
  2. ^Using Bosque - Bosque Programming Language[dead link]
  3. ^abMicrosoft debuts Bosque – a new programming language with no loops, inspired by TypeScript
  4. ^Bosque is Microsoft's new open source, TypeScript-inspired programming language
  5. ^Microsoft aims for simplicity with Bosque programming language
  6. ^Microsoft’s New Programming Language ‘Bosque’ Keeps Your Code Simple
  7. ^Microsoft’s Bosque Language Wants to Change Programming Forever
  8. ^Microsoft Introduces Bosque, a Programming Language for Writing Easy-to-Reason-about Code
  9. ^"Bosque Programming Language".GitHub. May 7, 2022.

Further reading

[edit]

External links

[edit]
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
Dialects
Engines
Frameworks
Client-side
Server-side
Multiple
  • Cappuccino
Libraries
People
Other
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
Overview
Software
Applications
Video games
Programming
languages
Frameworks,
development tools
Operating systems
Other
Licenses
Forges
Related
Stub icon

Thisprogramming-language-related article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Bosque_(programming_language)&oldid=1338841652"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp