|
|
| Line 1: |
Line 1: |
| {{multiple issues|
| | #redirect [[PureScript]] |
| {{notability|Products|date=December 2017}}
| |
| {{refimprove|date=December 2017}}
| |
| {{third-party|date=December 2017}}
| |
| | |
| }}
| |
| {{Infobox programming language
| |
| | name = PureScript
| |
| | logo = [[File:PureScript Logo.png|frameless]]
| |
| | logo caption =
| |
| | screenshot = <!-- (filename) -->
| |
| | screenshot caption =
| |
| | paradigm = [[functional programming|functional]], [[purely functional|pure]], [[strict evaluation|strict]], [[modular programming|modular]]
| |
| | family = [[:Category:Haskell programming language family|Haskell]]
| |
| | designer = Phil Freeman
| |
| | developer = Phil Freeman, Gary Burgess
| |
| | released = {{start date and age|2013|09|30}}
| |
| | latest release version = 0.11.7
| |
| | latest release date = {{start date and age|2017|11|15}}
| |
| | latest preview version =
| |
| | latest preview date = <!-- {{start date and age|YYYY|MM|DD|df=yes/no}} -->
| |
| | typing = [[static typing|static]], [[strong typing|strong]], [[type inference|inferred]]
| |
| | scope =
| |
| | programming language =
| |
| | discontinued =
| |
| | platform =
| |
| | operating system = [[cross-platform]]
| |
| | license = [[MIT License]]
| |
| | file ext = .purs
| |
| | file format = <!-- or: | file formats = -->
| |
| | website = {{url|www.purescript.org}}
| |
| | implementations = PureScript ([[JavaScript]]), Pure11 ([[C++11]])
| |
| | dialects =
| |
| | influenced by = [[Haskell (programming language)|Haskell]], [[TypeScript]], Roy, Koka, [[Idris (programming language)|Idris]]
| |
| | influenced = Shem
| |
| }}
| |
| | |
| '''PureScript''' is a [[strict evaluation|strict]], [[purely functional programming|purely functional]] [[programming language]] inspired by [[Haskell (programming language)|Haskell]] which [[Source-to-source compiler|compiles]] to readable [[JavaScript]] with a simple [[foreign function interface]] and no runtime dependency.<ref>{{cite web|url=http://www.purescript.org/|title=PureScript|website=Purescript.org|accessdate=20 December 2017}}</ref><ref>{{cite web|url=https://github.com/purescript/purescript|title=purescript: A strongly-typed language that compiles to Javascript|date=20 December 2017|accessdate=20 December 2017|publisher=[[GitHub]]}}</ref><ref>{{cite web|url=https://www.youtube.com/watch?v=LqYfdmb0eUU|title=Learn Functional Programming with PureScript|date=21 May 2015|publisher=[[YouTube]]}}</ref><ref>{{cite web|url=https://leanpub.com/purescript/read|title=PureScript by Example|last=Freeman|first=Phil|year=2016|publisher=Leanpub|accessdate=23 April 2017}}</ref>
| |
| | |
| | |
| == Features ==
| |
| PureScript has support for [[algebraic data type|algebraic data types]], [[polymorphism (computer science)#Row Polymorphism|row polymorphism]], [[type class|type classes]], [[type class#Higher-kinded polymorphism|higher-kinded]] types, and [[parametric polymorphism#Rank-n ("higher-rank") polymorphism|higher-rank polymorphism]].
| |
| | |
| ==References==
| |
| {{Reflist}}
| |
| | |
| [[Category:Functional languages]]
| |
| | |
| | |
| {{compu-prog-stub}} {{Source Wikipedia}}
| |