在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):lemmih/lhc开源软件地址(OpenSource Url):https://github.com/lemmih/lhc开源编程语言(OpenSource Language):Haskell 80.9%开源软件介绍(OpenSource Introduction):About LHCThe LHC Haskell Compiler aims at compiling Haskell2010 to LLVM IR using the HaskellSuite of libraries. Getting startedLHC is built by stack:
Installing the lhc-prim library is required before the example programs can be compiled.
After lhc-prim has been installed, all the programs in
You can run
TestingRunning the test suite is done via stack:
Status (updated 2018-05-26)LHC is comprised of separate libraries which are developed independenly and are in various states of completion. haskell-scopeHaskell-scope implements name resolution for a sizable subset of Haskell2010 but it's far from complete. So far it hasn't proved a bottleneck. haskell-tcHaskell-tc implements type-checking and type-inference for a small subset of Haskell2010. Only the constructs used in the example programs are supported. haskell-cruxHaskell-crux is responsible for desugaring and, like haskell-tc, has only been defined for exactly those language constructs which are currently used by the example programs. base libraryThe base is extremely minimal and functions are implemented on a by-need basis. Integer supportNone. Will eventually write a minimal implementation in either Haskell or C. ExceptionsNot implemented yet but the RTS has been designed with exceptions in mind. Garbage collectionLHC has a simple but accurate semispace garbage collector. ThreadingNot supported. Will eventually use libuv. Unicode supportNot supported. Will eventually use libicu. Compilation pipeline and the relevant libraries:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论