pluto
所属分类:编译器/解释器
开发工具:Haskell
文件大小:12KB
下载次数:0
上传日期:2019-05-23 05:44:41
上 传 者:
sh-1993
说明: 使用Haskell和LLVM构建的静态类型编程语言
(A statically typed programming language built using Haskell and LLVM)
文件列表:
.travis.yml (713, 2019-05-23)
LICENSE (1069, 2019-05-23)
Setup.hs (57, 2019-05-23)
app (0, 2019-05-23)
app\Main.hs (60, 2019-05-23)
example (0, 2019-05-23)
example\main.plu (156, 2019-05-23)
package.yaml (1546, 2019-05-23)
runtime (0, 2019-05-23)
runtime\libpluto.c (318, 2019-05-23)
src (0, 2019-05-23)
src\Analyzer.hs (1563, 2019-05-23)
src\Codegen.hs (10959, 2019-05-23)
src\Lexer.hs (1704, 2019-05-23)
src\Lib.hs (556, 2019-05-23)
src\Parser.hs (4636, 2019-05-23)
src\Syntax.hs (990, 2019-05-23)
stack.yaml (2164, 2019-05-23)
test (0, 2019-05-23)
test\Spec.hs (408, 2019-05-23)
# ![Pluto Logo](https://i.imgur.com/tRplGb6.png)
[![Build Status](https://travis-ci.com/Theomund/pluto-lang.svg?branch=master)](https://travis-ci.com/Theomund/pluto-lang)
Pluto is a statically typed imperative programming language built using [Haskell](https://www.haskell.org). Currently, Pluto includes a rudimentary compiler that compiles programs into target-specific object code. Under the hood, Pluto uses the [LLVM](https://llvm.org/) compiler toolchain to manage the middle-end and back-end of the compiler.
## Installation
### Linux (Arch Linux)
1. Install *stack* using *pacman*:
```bash
sudo pacman -S stack
```
2. Clone this repository:
```bash
git clone https://github.com/Theomund/pluto-lang.git
```
3. Initialize *stack* and build the project:
```bash
cd pluto-lang/
stack setup
stack build
```
4. Execute the project using *stack*:
```bash
stack exec pluto-lang-exe
```
## License
[MIT](https://choosealicense.com/licenses/mit/)
近期下载者:
相关文件:
收藏者: