小巧而強大的靜態類型語言 PureScript v0.9.2 發布

jopen 9年前發布 | 7K 次閱讀 PureScrip JavaScript

PureScript 是個小巧而強大的靜態類型語言,可以編譯成 JavaScript。purescript 主要是由 Haskell 和 PureScript 編寫的。

更新日志

功能增強

Goto Definition

@kRITZCREEK has added the ability to return position information for expressions in psc-ide. This can be used to implement a Goto Definition feature in IDEs which use psc-ide-server as the backend.

Evaluate PSCi expressions in the browser

(@paf31)

PSCi now features an alternative backend, which can run commands in the browser via a websocket. To use this mode, simply pass the --port option on the command line:

$ pulp psci --port 9000

and open your web browser to localhost on that port.

See https://github.com/paf31/psci-experiment for a demonstration.

psc-ide architecture changes

@kRITZCREEK has worked on changing the architecture of psc-ide generally, to load data in multiple phases and asynchronously. This enables new features like Goto Definition above.

Other

Bug修復

psc-ide

Other

  • Update Data.Function constant for prelude 1.0 (@felixSchl)
  • Include position info in ScopeShadowing warning (@garyb)

下載

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!