Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Overview  





2 Examples  



2.1  Add two numbers  







3 See also  





4 References  





5 Further reading  





6 External links  














Bosque (programming language)






Oʻzbekcha / ўзбекча
Русский
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Bosque
ParadigmMulti-paradigm: functional, typed language
Designed byMark Marron
DeveloperMicrosoft
First appearedMarch 3, 2019; 5 years ago (2019-03-03)[1]
LicenseMIT 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]

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

    External links[edit]


  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Bosque_(programming_language)&oldid=1220132980"

    Categories: 
    Microsoft free software
    Microsoft programming languages
    Microsoft Research
    Programming languages created in 2019
    Software using the MIT license
    2019 software
    Programming language topic stubs
    Hidden categories: 
    All articles with dead external links
    Articles with dead external links from May 2023
    Articles with short description
    Short description matches Wikidata
    Use mdy dates from October 2018
    All stub articles
     



    This page was last edited on 22 April 2024, at 01:03 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki